]> www.infradead.org Git - users/jedix/linux-maple.git/commit
btrfs: do more trivial BTRFS_PATH_AUTO_FREE conversions
authorDavid Sterba <dsterba@suse.com>
Tue, 1 Apr 2025 23:18:06 +0000 (01:18 +0200)
committerDavid Sterba <dsterba@suse.com>
Thu, 15 May 2025 12:30:41 +0000 (14:30 +0200)
commite235418118774fbe52cc558991aa769d2dbc9292
treeccea69caa8862d3a9db55edcfe1516c64c8cdb30
parentc6a43322a3ab01da6c7588c29a0a918b9d797c11
btrfs: do more 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: Daniel Vacek <neelx@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/block-group.c
fs/btrfs/fiemap.c
fs/btrfs/file-item.c
fs/btrfs/file.c
fs/btrfs/free-space-cache.c
fs/btrfs/inode.c