mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
btrfs: send: switch struct fs_path to auto freeing
The fs_path can use the auto freeing pattern and it's completely contained in send. Define the freeing wrapper and add the cleanup attributes. Almost all conversions are straightforward, replacing goto with direct return. Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
32e67e8da7
commit
69a7911183
1 changed files with 43 additions and 70 deletions
113
fs/btrfs/send.c
113
fs/btrfs/send.c
Loading…
Add table
Add a link
Reference in a new issue