]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
btrfs: remove out label in btrfs_mark_extent_written()
authorFilipe Manana <fdmanana@suse.com>
Tue, 20 Jan 2026 20:03:45 +0000 (20:03 +0000)
committerDavid Sterba <dsterba@suse.com>
Tue, 3 Feb 2026 06:56:22 +0000 (07:56 +0100)
commit610ff1c9df5499aed83d6a1ca2e9e9a2aefecc13
tree1959eb3cb202173c38eefa166acf65a063577020
parentcc27540dd09571938cf8e9c80a311b403ac073c4
btrfs: remove out label in btrfs_mark_extent_written()

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