]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
btrfs: remove out_failed label in find_lock_delalloc_range()
authorFilipe Manana <fdmanana@suse.com>
Tue, 20 Jan 2026 20:01:31 +0000 (20:01 +0000)
committerDavid Sterba <dsterba@suse.com>
Tue, 3 Feb 2026 06:56:22 +0000 (07:56 +0100)
commitbb09b9a4917cb5f040dbce66c236c9adae2eeaea
treeefd988cd42fe461c681bf4450cf3aeb6a71695a5
parent2efcd25a7638dd217e2fea01107416e24a2d1935
btrfs: remove out_failed label in find_lock_delalloc_range()

There is no point in having the label since all it does is return the
value in the 'found' variable. Instead make every goto return directly
and remove the label.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent_io.c