]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - bch_bindgen/build.rs
feat(bindgen): expose `bcache_fs_(open|close)` to Rust side
[bcachefs-tools-debian] / bch_bindgen / build.rs
index 70f03076afbd5444d2e3f57dce02ecb319b0d3d0..c9a90fcab25da4cefeb805bbd65a6caedac8abbc 100644 (file)
@@ -53,6 +53,8 @@ fn main() {
         .allowlist_function("cmd_.*")
         .allowlist_function(".*_cmds")
         .allowlist_function(".*bch2_.*")
+        .allowlist_function("bcache_fs_open")
+        .allowlist_function("bcache_fs_close")
         .allowlist_function("bio_.*")
         .allowlist_function("derive_passphrase")
         .allowlist_function("request_key")