]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
btrfs: send: simplify return logic from is_inode_existent()
authorFilipe Manana <fdmanana@suse.com>
Mon, 10 Feb 2025 11:45:06 +0000 (11:45 +0000)
committerDavid Sterba <dsterba@suse.com>
Tue, 18 Mar 2025 19:35:45 +0000 (20:35 +0100)
commit6bb09d0c126334b950dc806180ad242fd6cc93ec
treec9c5c18349be76ca34d5918f6d3a98f7caacb46f
parentdbee3fc55ac156006c47e71de3ed41a2307690c3
btrfs: send: simplify return logic from is_inode_existent()

There is no need to have an 'out' label and jump into it since there are
no resource cleanups to perform (release locks, free memory, etc), so
make this simpler by removing the label and goto and instead return
directly.

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