]> www.infradead.org Git - users/jedix/linux-maple.git/commit
btrfs: do trivial BTRFS_PATH_AUTO_FREE conversions
authorDavid Sterba <dsterba@suse.com>
Mon, 24 Feb 2025 08:13:57 +0000 (09:13 +0100)
committerDavid Sterba <dsterba@suse.com>
Tue, 18 Mar 2025 19:35:47 +0000 (20:35 +0100)
commitefac576c22ebc0753898575d5b5386fba10847a6
tree0a81ac815fc1e7bed458fd156123d5d2756bdf32
parentbd06bce1b387c57210afb238e538dd4d4acb4dbc
btrfs: do trivial BTRFS_PATH_AUTO_FREE conversions

The most trivial pattern for the auto freeing when the variable is
declared with the macro and the final btrfs_free_path() is removed.
There are almost none goto -> return conversions and there's no other
function cleanup.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/block-group.c
fs/btrfs/ctree.c
fs/btrfs/delayed-inode.c
fs/btrfs/disk-io.c
fs/btrfs/extent-tree.c
fs/btrfs/file-item.c