]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - libbcachefs/dirent.h
Move c_src dirs back to toplevel
[bcachefs-tools-debian] / libbcachefs / dirent.h
index 10dc3ad7e80f0c8314cd0bf91b7e497eee09938a..21ffeb78f02ee3a750a39512f2fb353b594567b5 100644 (file)
@@ -35,6 +35,10 @@ static inline unsigned dirent_val_u64s(unsigned len)
 int bch2_dirent_read_target(struct btree_trans *, subvol_inum,
                            struct bkey_s_c_dirent, subvol_inum *);
 
+int bch2_dirent_create_snapshot(struct btree_trans *, u64, u32,
+                       const struct bch_hash_info *, u8,
+                       const struct qstr *, u64, u64 *,
+                       bch_str_hash_flags_t);
 int bch2_dirent_create(struct btree_trans *, subvol_inum,
                       const struct bch_hash_info *, u8,
                       const struct qstr *, u64, u64 *,