summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/buckets.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-08-09 05:44:00 +0200
committerKent Overstreet <kent.overstreet@linux.dev>2024-08-09 20:40:19 +0200
commit1a9e219db15e62760cfcc107ab6df3796d353605 (patch)
treee90761020dae5e6b9bb8f773468f4abe1f34ca7b /fs/bcachefs/buckets.h
parentbcachefs: bch2_accounting_invalid() (diff)
downloadlinux-1a9e219db15e62760cfcc107ab6df3796d353605.tar.xz
linux-1a9e219db15e62760cfcc107ab6df3796d353605.zip
bcachefs: improve bch2_dev_usage_to_text()
Add a line for capacity Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to '')
-rw-r--r--fs/bcachefs/buckets.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/buckets.h b/fs/bcachefs/buckets.h
index 2d35eeb24a2d..edbdffd508fc 100644
--- a/fs/bcachefs/buckets.h
+++ b/fs/bcachefs/buckets.h
@@ -212,7 +212,7 @@ static inline struct bch_dev_usage bch2_dev_usage_read(struct bch_dev *ca)
return ret;
}
-void bch2_dev_usage_to_text(struct printbuf *, struct bch_dev_usage *);
+void bch2_dev_usage_to_text(struct printbuf *, struct bch_dev *, struct bch_dev_usage *);
static inline u64 bch2_dev_buckets_reserved(struct bch_dev *ca, enum bch_watermark watermark)
{