]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: eliminate insert label in add_falloc_range
authorNikolay Borisov <nborisov@suse.com>
Tue, 1 Jun 2021 06:08:15 +0000 (09:08 +0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 21 Jun 2021 13:19:10 +0000 (15:19 +0200)
commit6ab1d1d504a09f6656c54c9e334e49d19863159c
treeb7439564dfce250e0c19915c189791f1e77709ba
parent5a2978eee7414578e645b6084a2883a140555fd1
btrfs: eliminate insert label in add_falloc_range

By way of inverting the list_empty conditional the insert label can be
eliminated, making the function's flow entirely linear.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/file.c