]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
btrfs: remove out label in btrfs_check_rw_degradable()
authorFilipe Manana <fdmanana@suse.com>
Tue, 20 Jan 2026 20:06:20 +0000 (20:06 +0000)
committerDavid Sterba <dsterba@suse.com>
Tue, 3 Feb 2026 06:56:23 +0000 (07:56 +0100)
commitcefef3cc128076813a7ba5cf34f80130dce3f0a2
tree0e842f5f2f4007193ca2985f46aa0f615987cbc4
parent61fb7f04ee06e6c7e113a490af1a057f958f1d05
btrfs: remove out label in btrfs_check_rw_degradable()

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/volumes.c