summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/buckets.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2019-03-30 03:22:45 +0100
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 23:08:20 +0200
commita1d58243f943f5933e65e18e504333ac9eccb679 (patch)
treee9f6753f95985fdb60eaa6279cd3d599d6bb6eac /fs/bcachefs/buckets.h
parentbcachefs: Convert gc errors to fsck errors (diff)
downloadlinux-a1d58243f943f5933e65e18e504333ac9eccb679.tar.xz
linux-a1d58243f943f5933e65e18e504333ac9eccb679.zip
bcachefs: add ability to run gc on metadata only
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/buckets.h')
-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 6af8b418b1e3..095015f17f76 100644
--- a/fs/bcachefs/buckets.h
+++ b/fs/bcachefs/buckets.h
@@ -174,7 +174,7 @@ static inline bool bucket_needs_journal_commit(struct bucket_mark m,
struct bch_dev_usage bch2_dev_usage_read(struct bch_fs *, struct bch_dev *);
-void bch2_dev_usage_from_buckets(struct bch_fs *, struct bch_dev *);
+void bch2_dev_usage_from_buckets(struct bch_fs *);
static inline u64 __dev_buckets_available(struct bch_dev *ca,
struct bch_dev_usage stats)