diff options
author | Naohiro Aota <naohiro.aota@wdc.com> | 2023-03-13 16:06:14 +0900 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-03-15 20:51:07 +0100 |
commit | e15acc25880cf048dba9df94d76ed7e7e10040e6 (patch) | |
tree | bd5d31adf8acd857e257562445d9755c3d1d0a26 /fs/btrfs/space-info.h | |
parent | fa2068d7e922b434eba5bfb0131e6d39febfdb48 (diff) |
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>
Diffstat (limited to 'fs/btrfs/space-info.h')
-rw-r--r-- | fs/btrfs/space-info.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/space-info.h b/fs/btrfs/space-info.h index fc99ea2b0c34..2033b71b18ce 100644 --- a/fs/btrfs/space-info.h +++ b/fs/btrfs/space-info.h @@ -96,8 +96,6 @@ struct btrfs_space_info { u64 bytes_may_use; /* number of bytes that may be used for delalloc/allocations */ u64 bytes_readonly; /* total bytes that are read only */ - /* Total bytes in the space, but only accounts active block groups. */ - u64 active_total_bytes; u64 bytes_zone_unusable; /* total bytes that are unusable until resetting the device zone */ |