]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - libbcachefs/replicas.h
Update bcachefs sources to 8c94740b1bf8 bcachefs: Add missing vaidation for jset_entr...
[bcachefs-tools-debian] / libbcachefs / replicas.h
index b2bb12a9b5335fbb25a95d339ceecb0a28f06433..654a4b26d3a3c96e3ac0cecb9586de15828665f1 100644 (file)
@@ -9,6 +9,8 @@
 void bch2_replicas_entry_sort(struct bch_replicas_entry_v1 *);
 void bch2_replicas_entry_to_text(struct printbuf *,
                                 struct bch_replicas_entry_v1 *);
+int bch2_replicas_entry_validate(struct bch_replicas_entry_v1 *,
+                                struct bch_sb *, struct printbuf *);
 void bch2_cpu_replicas_to_text(struct printbuf *, struct bch_replicas_cpu *);
 
 static inline struct bch_replicas_entry_v1 *