]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - libbcachefs/keylist.h
Update bcachefs sources to 6a25f7a00d bcachefs: fix ioctl code
[bcachefs-tools-debian] / libbcachefs / keylist.h
index 66628058e141da3d633863bc49d1e486e3a2f2a3..87388c9762c9515386c40a5ba4e5f9d123a5de93 100644 (file)
@@ -59,4 +59,10 @@ static inline struct bkey_i *bch2_keylist_front(struct keylist *l)
 #define keylist_single(k)                                      \
        ((struct keylist) { .keys = k, .top = bkey_next(k) })
 
+#ifdef CONFIG_BCACHEFS_DEBUG
+void bch2_verify_keylist_sorted(struct keylist *);
+#else
+static inline void bch2_verify_keylist_sorted(struct keylist *l) {}
+#endif
+
 #endif /* _BCACHE_KEYLIST_H */