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

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