]> 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)
commit496cd199871c6a227f0963be406e2fdebe103057
treeb7439564dfce250e0c19915c189791f1e77709ba
parent3be2cadc23d714bb86abf2a1237c9c3669ac0ea4
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