diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-11-24 02:43:23 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-01 19:47:38 +0300 |
commit | 9b34f02cdcc1000b0147d5751349a3ac1b697590 (patch) | |
tree | 5b043c354f5fe7d0e5cef9fb538263f850a9fc15 /fs/bcachefs/sb-clean.c | |
parent | ed0cd515cd8adb052881b371dd3f80cca5995174 (diff) | |
download | linux-9b34f02cdcc1000b0147d5751349a3ac1b697590.tar.xz |
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/sb-clean.c')
-rw-r--r-- | fs/bcachefs/sb-clean.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/bcachefs/sb-clean.c b/fs/bcachefs/sb-clean.c index bc1d9808808d..c100f2ec2b96 100644 --- a/fs/bcachefs/sb-clean.c +++ b/fs/bcachefs/sb-clean.c @@ -256,7 +256,6 @@ void bch2_journal_super_entries_add_common(struct bch_fs *c, u->entry.type = BCH_JSET_ENTRY_dev_usage; u->dev = cpu_to_le32(dev); - u->buckets_ec = cpu_to_le64(ca->usage_base->buckets_ec); for (i = 0; i < BCH_DATA_NR; i++) { u->d[i].buckets = cpu_to_le64(ca->usage_base->d[i].buckets); |