btrfs: remove pointless label and goto at btrfs_record_unlink_dir()
authorFilipe Manana <fdmanana@suse.com>
Wed, 17 May 2023 11:02:15 +0000 (12:02 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 19 Jun 2023 11:59:26 +0000 (13:59 +0200)
commitacfb5a4f1109a4f477f816d572b4f8f65b645bee
tree74321071e2806d6e35562930b105c9aed29ba030
parent1e75ef039d1a13afd0abd794dee9df462d5b7990
btrfs: remove pointless label and goto at btrfs_record_unlink_dir()

There's no point of having a label and goto at btrfs_record_unlink_dir()
because the function is trivial and can just return early if we are not
in a rename context. So remove the label and goto and instead return
early if we are not in a rename.

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/tree-log.c