]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
btrfs: remove out label in scrub_find_fill_first_stripe()
authorFilipe Manana <fdmanana@suse.com>
Tue, 20 Jan 2026 20:05:02 +0000 (20:05 +0000)
committerDavid Sterba <dsterba@suse.com>
Tue, 3 Feb 2026 06:56:22 +0000 (07:56 +0100)
commit6329592ca65222183aaebb377b8a828ecf85e55f
tree3e7906955820be808b019af4627ca13fc3e49a4c
parent55807025a63fc727527cea790792e08c08e2e3c4
btrfs: remove out label in scrub_find_fill_first_stripe()

There is no point in having the label since all it does is return the
value in the 'ret' 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/scrub.c