diff options
| author | Leo Martins <loemra.dev@gmail.com> | 2024-09-03 11:19:06 -0700 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2024-09-10 16:51:22 +0200 |
| commit | 45763a0cbb91ba3a5db928c376c3b0bba3ce9b45 (patch) | |
| tree | 20199c842e96b667ef6b7187ec8539409c7a3ebe /rust/helpers/build_bug.c | |
| parent | btrfs: DEFINE_FREE for struct btrfs_path (diff) | |
| download | linux-45763a0cbb91ba3a5db928c376c3b0bba3ce9b45.tar.gz linux-45763a0cbb91ba3a5db928c376c3b0bba3ce9b45.zip | |
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/build_bug.c')
0 files changed, 0 insertions, 0 deletions
