summaryrefslogtreecommitdiff
path: root/rust/helpers
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2025-02-05 11:50:48 +0000
committerDavid Sterba <dsterba@suse.com>2025-03-18 20:35:45 +0100
commit147ff868609b99b48fb67cad54b41372cac23f3b (patch)
treebc30b416104deed922cb6ded25695d6963d76a34 /rust/helpers
parent1f63d4b610181c1f6add492c9c23f27818aff361 (diff)
btrfs: send: simplify return logic from fs_path_prepare_for_add()
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>
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions