]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - c_src/libbcachefs.c
Disable pristine-tar option in gbp.conf, since there is no pristine-tar branch.
[bcachefs-tools-debian] / c_src / libbcachefs.c
index ef4cc7181f877e30f1b976f45051160eeda875ac..703a0eca21358270f298e64e91c16502f9dbd80e 100644 (file)
@@ -20,6 +20,7 @@
 #include "crypto.h"
 #include "libbcachefs/bcachefs_format.h"
 #include "libbcachefs/btree_cache.h"
+#include "libbcachefs/buckets.h"
 #include "libbcachefs/checksum.h"
 #include "libbcachefs/disk_groups.h"
 #include "libbcachefs/journal_seq_blacklist.h"
@@ -531,7 +532,7 @@ int bchu_data(struct bchfs_handle fs, struct bch_ioctl_data cmd)
                       e.p.sectors_total
                       ? e.p.sectors_done * 100 / e.p.sectors_total
                       : 0,
-                      bch2_data_types[e.p.data_type]);
+                      bch2_data_type_str(e.p.data_type));
 
                switch (e.p.data_type) {
                case BCH_DATA_btree: