]> www.infradead.org Git - users/jedix/linux-maple.git/commit
btrfs: send: simplify return logic from record_changed_ref()
authorFilipe Manana <fdmanana@suse.com>
Tue, 18 Feb 2025 15:52:22 +0000 (15:52 +0000)
committerDavid Sterba <dsterba@suse.com>
Tue, 18 Mar 2025 19:35:46 +0000 (20:35 +0100)
commit892772c3896dee58dbd1dd287fdae72e5551ad8c
tree6ccfac4692604da64c244725c821bdaaa4f97905
parent43090f2ca9e0153a644f86fb6c4f38e6034b4be3
btrfs: send: simplify return logic from record_changed_ref()

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