Re: [PATCH v3 01/11] Btrfs: remove stale comment referencing vmtruncate()

2018-05-11 Thread Omar Sandoval
On Fri, May 11, 2018 at 12:19:43PM +0200, David Sterba wrote: > On Fri, May 11, 2018 at 12:56:06AM -0700, Omar Sandoval wrote: > > From: Omar Sandoval > > > > Commit a41ad394a03b ("Btrfs: convert to the new truncate sequence") > > changed vmtruncate() to truncate_setsize() but didn't update the c

Re: [PATCH v3 01/11] Btrfs: remove stale comment referencing vmtruncate()

2018-05-11 Thread David Sterba
On Fri, May 11, 2018 at 12:56:06AM -0700, Omar Sandoval wrote: > From: Omar Sandoval > > Commit a41ad394a03b ("Btrfs: convert to the new truncate sequence") > changed vmtruncate() to truncate_setsize() but didn't update the comment > above it. truncate_setsize() never fails (the IS_SWAPFILE() che

[PATCH v3 01/11] Btrfs: remove stale comment referencing vmtruncate()

2018-05-11 Thread Omar Sandoval
From: Omar Sandoval Commit a41ad394a03b ("Btrfs: convert to the new truncate sequence") changed vmtruncate() to truncate_setsize() but didn't update the comment above it. truncate_setsize() never fails (the IS_SWAPFILE() check happens elsewhere), so remove the comment. Signed-off-by: Omar Sandov