Re: [PATCH] btrfs: Use locked_end rather than open coding it

2017-11-01 Thread David Sterba
On Wed, Nov 01, 2017 at 11:36:05AM +0200, Nikolay Borisov wrote: > Right before we go into this loop locked_end is set to alloc_end - 1 and is > being used in nearby functions, no need to have exceptions. This just makes > the > code consistent, no functional changes > > Signed-off-by: Nikolay Bo

[PATCH] btrfs: Use locked_end rather than open coding it

2017-11-01 Thread Nikolay Borisov
Right before we go into this loop locked_end is set to alloc_end - 1 and is being used in nearby functions, no need to have exceptions. This just makes the code consistent, no functional changes Signed-off-by: Nikolay Borisov --- fs/btrfs/file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 delet