diff options
| author | Naohiro Aota <naohiro.aota@wdc.com> | 2021-08-19 21:19:09 +0900 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2021-10-26 19:07:58 +0200 |
| commit | c46c4247ab046b11806cdb10e04395c2f2cd1e41 (patch) | |
| tree | 33ca9ff3704da3d0cddaee9ba5739ba3d434f282 /lib/mpi/mpi-add.c | |
| parent | 8eae532be75317ec59ff6fd68994b986d017502d (diff) | |
btrfs: zoned: move btrfs_free_excluded_extents out of btrfs_calc_zone_unusable
btrfs_free_excluded_extents() is not neccessary for
btrfs_calc_zone_unusable() and it makes btrfs_calc_zone_unusable()
difficult to reuse. Move it out and call btrfs_free_excluded_extents()
in proper context.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions
