Remaining BTRFS_PATH_AUTO_FREE work
Hi,
there are still possible conversions of struct btrfs_path to BTRFS_PATH_AUTO_FREE(). As this is fairly easy it's approachable for beginners or drive-by contributions.
The basic pattern is explained in patch 4c74a32ad323 ("btrfs: DEFINE_FREE for struct btrfs_path").
Examples of previous work:
- e23541811877 ("btrfs: do more trivial BTRFS_PATH_AUTO_FREE conversions")
- 516748f584fd ("btrfs: use BTRFS_PATH_AUTO_FREE in may_destroy_subvol()")
IIRC files beginning with [p-z] haven't been converted yet, search for btrfs_alloc_path() and look if it matches the pattern.
Whoever is interested please reply to this mail so the work is not unnecessarily duplicated.