btrfs: zoned: drop space_info->active_total_bytes
authorNaohiro Aota <naohiro.aota@wdc.com>
Mon, 13 Mar 2023 07:06:14 +0000 (16:06 +0900)
committerDavid Sterba <dsterba@suse.com>
Wed, 15 Mar 2023 19:51:07 +0000 (20:51 +0100)
commite15acc25880cf048dba9df94d76ed7e7e10040e6
treebd5d31adf8acd857e257562445d9755c3d1d0a26
parentfa2068d7e922b434eba5bfb0131e6d39febfdb48
btrfs: zoned: drop space_info->active_total_bytes

The space_info->active_total_bytes is no longer necessary as we now
count the region of newly allocated block group as zone_unusable. Drop
its usage.

Fixes: 6a921de58992 ("btrfs: zoned: introduce space_info->active_total_bytes")
CC: stable@vger.kernel.org # 6.1+
Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/block-group.c
fs/btrfs/space-info.c
fs/btrfs/space-info.h
fs/btrfs/zoned.c