summaryrefslogtreecommitdiff
path: root/bch_bindgen
diff options
context:
space:
mode:
Diffstat (limited to 'bch_bindgen')
-rw-r--r--bch_bindgen/build.rs1
-rw-r--r--bch_bindgen/src/bkey.rs2
2 files changed, 3 insertions, 0 deletions
diff --git a/bch_bindgen/build.rs b/bch_bindgen/build.rs
index b9f7eb65..10d5e575 100644
--- a/bch_bindgen/build.rs
+++ b/bch_bindgen/build.rs
@@ -79,6 +79,7 @@ fn main() {
.rustified_enum("fsck_err_opts")
.allowlist_type("nonce")
.no_debug("bch_replicas_padded")
+ .no_debug("jset")
.newtype_enum("bch_kdf_types")
.rustified_enum("bch_key_types")
.opaque_type("gendisk")
diff --git a/bch_bindgen/src/bkey.rs b/bch_bindgen/src/bkey.rs
index 0c4786eb..1c98b029 100644
--- a/bch_bindgen/src/bkey.rs
+++ b/bch_bindgen/src/bkey.rs
@@ -51,6 +51,7 @@ pub enum BkeyValC<'a> {
logged_op_finsert(&'a c::bch_logged_op_finsert),
accounting(&'a c::bch_accounting),
inode_alloc_cursor(&'a c::bch_inode_alloc_cursor),
+ extent_whiteout,
}
impl<'a, 'b> BkeySC<'a> {
@@ -109,6 +110,7 @@ impl<'a, 'b> BkeySC<'a> {
KEY_TYPE_logged_op_finsert => logged_op_finsert(transmute(self.v)),
KEY_TYPE_accounting => accounting(transmute(self.v)),
KEY_TYPE_inode_alloc_cursor => inode_alloc_cursor(transmute(self.v)),
+ KEY_TYPE_extent_whiteout => extent_whiteout,
KEY_TYPE_MAX => unreachable!(),
}
}