]> www.infradead.org Git - users/jedix/linux-maple.git/commit
btrfs: send: simplify return logic from send_unlink()
authorFilipe Manana <fdmanana@suse.com>
Thu, 20 Feb 2025 10:58:38 +0000 (10:58 +0000)
committerDavid Sterba <dsterba@suse.com>
Tue, 18 Mar 2025 19:35:46 +0000 (20:35 +0100)
commit26605cc9d0d556618893a5e05abde9b36efe7a3e
treebc539f56c547914b8be0b843cbfe7557b1c9e2ed
parent711584496f959d4347734d6e8ab920f5b11cfc14
btrfs: send: simplify return logic from send_unlink()

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