summaryrefslogtreecommitdiff
path: root/libbcachefs/replicas.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2022-02-21 05:38:44 -0500
committerKent Overstreet <kent.overstreet@gmail.com>2022-02-21 05:38:44 -0500
commitc06026ac542911329a99a3f02a4f5732d6c8e51c (patch)
tree01498700cb8255284e8d32a6e1703edfc33e9d99 /libbcachefs/replicas.h
parentf85062409230ee9c0ce9e1a7bedb916006597e97 (diff)
Update bcachefs sources to 9d554fa16d bcachefs: Add .to_text() methods for all superblock sections
Diffstat (limited to 'libbcachefs/replicas.h')
-rw-r--r--libbcachefs/replicas.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libbcachefs/replicas.h b/libbcachefs/replicas.h
index d237d7c5..87820b2e 100644
--- a/libbcachefs/replicas.h
+++ b/libbcachefs/replicas.h
@@ -64,6 +64,7 @@ static inline void bch2_replicas_entry_cached(struct bch_replicas_entry *e,
bool bch2_have_enough_devs(struct bch_fs *, struct bch_devs_mask,
unsigned, bool);
+unsigned bch2_sb_dev_has_data(struct bch_sb *, unsigned);
unsigned bch2_dev_has_data(struct bch_fs *, struct bch_dev *);
int bch2_replicas_gc_end(struct bch_fs *, int);