]> www.infradead.org Git - users/jedix/linux-maple.git/commit
btrfs: use BTRFS_PATH_AUTO_FREE in load_free_space_tree()
authorDavid Sterba <dsterba@suse.com>
Mon, 24 Feb 2025 08:15:17 +0000 (09:15 +0100)
committerDavid Sterba <dsterba@suse.com>
Tue, 18 Mar 2025 19:35:48 +0000 (20:35 +0100)
commit19eaf5fd8c73437bb1f70bc5a062bdc14f152c9a
treed7bf8dedd6e684ddc78d85c2624057404d8873fc
parent2e70d126f9dcef0efba3711c7da8820ac1d036d2
btrfs: use BTRFS_PATH_AUTO_FREE in load_free_space_tree()

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: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/free-space-tree.c