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

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