]> www.infradead.org Git - users/jedix/linux-maple.git/commit
btrfs: use BTRFS_PATH_AUTO_FREE in populate_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)
commit3bfd9ead8131e02516b3ac96a5df06788485d736
treea182cb1da574eb03898c6298c7c419899fb6646e
parentc42c0db1bbcca13c130c5f1b1b802e1ded50b2e9
btrfs: use BTRFS_PATH_AUTO_FREE in populate_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.
This applies to both path and path2.

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