diff options
author | Leo Martins <loemra.dev@gmail.com> | 2024-09-03 21:19:06 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-09-10 17:51:22 +0300 |
commit | 45763a0cbb91ba3a5db928c376c3b0bba3ce9b45 (patch) | |
tree | 20199c842e96b667ef6b7187ec8539409c7a3ebe /rust/helpers/helpers.c | |
parent | 4c74a32ad323f89ac99b0f147e331f6ead100efa (diff) | |
download | linux-45763a0cbb91ba3a5db928c376c3b0bba3ce9b45.tar.xz |
btrfs: use btrfs_path auto free in zoned.c
All cleanup paths lead to btrfs_path_free so path can be defined with
the automatic freeing callback in the following functions:
- calculate_emulated_zone_size()
- calculate_alloc_pointer()
Signed-off-by: Leo Martins <loemra.dev@gmail.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions