Re: [PATCH] btrfs: Use IS_ALIGNED in btrfs_truncate_block instead of opencoding it

2018-01-19 Thread David Sterba
On Fri, Jan 19, 2018 at 08:45:40AM +0800, Qu Wenruo wrote: > > > On 2018年01月18日 20:47, Nikolay Borisov wrote: > > No functional changes, just makes the code more readable > > > > Signed-off-by: Nikolay Borisov > > Reviewed-by: Qu Wenruo Thanks, added to 4.16 queue. -- To unsubscribe from thi

Re: [PATCH] btrfs: Use IS_ALIGNED in btrfs_truncate_block instead of opencoding it

2018-01-18 Thread Qu Wenruo
On 2018年01月18日 20:47, Nikolay Borisov wrote: > No functional changes, just makes the code more readable > > Signed-off-by: Nikolay Borisov Reviewed-by: Qu Wenruo Thanks, Qu > --- > fs/btrfs/inode.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/fs/btrfs/inode

[PATCH] btrfs: Use IS_ALIGNED in btrfs_truncate_block instead of opencoding it

2018-01-18 Thread Nikolay Borisov
No functional changes, just makes the code more readable Signed-off-by: Nikolay Borisov --- fs/btrfs/inode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 269d129ffb1f..e9690e2aba09 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/i