]> git.ipfire.org Git - thirdparty/linux.git/commit
btrfs: send: simplify return logic from send_set_xattr()
authorFilipe Manana <fdmanana@suse.com>
Tue, 18 Feb 2025 15:40:17 +0000 (15:40 +0000)
committerDavid Sterba <dsterba@suse.com>
Tue, 18 Mar 2025 19:35:46 +0000 (20:35 +0100)
commit25aff7b964521eb4ab627dc092335e4690c07e95
tree8ffd816232da2563a9a5e67d3d72eac2aaf20188
parent374d45af6435534a11b01b88762323abf03dd755
btrfs: send: simplify return logic from send_set_xattr()

There's no longer any need for the 'out' label as there are no resources
to cleanup anymore in case of an error and we can directly return if
begin_cmd() fails.

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