diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-11-23 18:43:23 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-01 11:47:38 -0500 |
commit | 9b34f02cdcc1000b0147d5751349a3ac1b697590 (patch) | |
tree | 5b043c354f5fe7d0e5cef9fb538263f850a9fc15 /fs/bcachefs/bcachefs_format.h | |
parent | ed0cd515cd8adb052881b371dd3f80cca5995174 (diff) |
bcachefs: Kill dev_usage->buckets_ec
This counter is redundant; it's simply the sum of BCH_DATA_stripe and
BCH_DATA_parity buckets.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/bcachefs_format.h')
-rw-r--r-- | fs/bcachefs/bcachefs_format.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/bcachefs/bcachefs_format.h b/fs/bcachefs/bcachefs_format.h index d2eb1bd0c8ee..41fa8b9b69f4 100644 --- a/fs/bcachefs/bcachefs_format.h +++ b/fs/bcachefs/bcachefs_format.h @@ -2231,8 +2231,8 @@ struct jset_entry_dev_usage { __le32 dev; __u32 pad; - __le64 buckets_ec; - __le64 _buckets_unavailable; /* No longer used */ + __le64 _buckets_ec; /* No longer used */ + __le64 _buckets_unavailable; /* No longer used */ struct jset_entry_dev_usage_type d[]; }; |