diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-11-23 18:25:31 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-01 11:47:38 -0500 |
commit | ed0cd515cd8adb052881b371dd3f80cca5995174 (patch) | |
tree | ff7ddf665acca95e82c41ecac61762f44f1171a9 /fs/bcachefs/buckets.h | |
parent | dafff7e57508e87b473d91bac3e38181e2b829f2 (diff) | |
download | linux-ed0cd515cd8adb052881b371dd3f80cca5995174.tar.gz linux-ed0cd515cd8adb052881b371dd3f80cca5995174.tar.bz2 linux-ed0cd515cd8adb052881b371dd3f80cca5995174.zip |
bcachefs: bch2_dev_usage_to_text()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/buckets.h')
-rw-r--r-- | fs/bcachefs/buckets.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/buckets.h b/fs/bcachefs/buckets.h index 5574b62e0553..bc088673009b 100644 --- a/fs/bcachefs/buckets.h +++ b/fs/bcachefs/buckets.h @@ -203,6 +203,7 @@ static inline struct bch_dev_usage bch2_dev_usage_read(struct bch_dev *ca) } void bch2_dev_usage_init(struct bch_dev *); +void bch2_dev_usage_to_text(struct printbuf *, struct bch_dev_usage *); static inline u64 bch2_dev_buckets_reserved(struct bch_dev *ca, enum bch_watermark watermark) { |