]> www.infradead.org Git - users/jedix/linux-maple.git/commit
btrfs: use BTRFS_PATH_AUTO_FREE in may_destroy_subvol()
authorDavid Sterba <dsterba@suse.com>
Tue, 1 Apr 2025 23:18:07 +0000 (01:18 +0200)
committerDavid Sterba <dsterba@suse.com>
Thu, 15 May 2025 12:30:41 +0000 (14:30 +0200)
commit516748f584fd4308e93a503cbc876969b012de63
tree6f29f96b9192cf8ee81721ef7c2db18dbaa3b7f3
parente235418118774fbe52cc558991aa769d2dbc9292
btrfs: use BTRFS_PATH_AUTO_FREE in may_destroy_subvol()

This is the trivial pattern for path auto free, initialize at the
beginning and free at the end with simple goto -> return conversions.

Reviewed-by: Daniel Vacek <neelx@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/inode.c