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

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