summaryrefslogtreecommitdiff
path: root/libbcachefs/inode.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2018-07-16 03:58:54 -0400
committerKent Overstreet <kent.overstreet@gmail.com>2018-07-16 04:00:44 -0400
commit76a549d82d1383c02e4aa6f7d9eda2df9f2196b3 (patch)
tree99dd635807dd308586ed45677b90140e3ab60599 /libbcachefs/inode.h
parent75c7148e0aff2184c75a52e7c4c58e46e715757b (diff)
Update bcachefs sources to eab3b355cf bcachefs: trace transaction restarts
Diffstat (limited to 'libbcachefs/inode.h')
-rw-r--r--libbcachefs/inode.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libbcachefs/inode.h b/libbcachefs/inode.h
index 26461063..a47194ab 100644
--- a/libbcachefs/inode.h
+++ b/libbcachefs/inode.h
@@ -38,8 +38,13 @@ int bch2_inode_unpack(struct bkey_s_c_inode, struct bch_inode_unpacked *);
void bch2_inode_init(struct bch_fs *, struct bch_inode_unpacked *,
uid_t, gid_t, umode_t, dev_t,
struct bch_inode_unpacked *);
+
+int __bch2_inode_create(struct btree_trans *,
+ struct bch_inode_unpacked *,
+ u64, u64, u64 *);
int bch2_inode_create(struct bch_fs *, struct bch_inode_unpacked *,
u64, u64, u64 *);
+
int bch2_inode_truncate(struct bch_fs *, u64, u64,
struct extent_insert_hook *, u64 *);
int bch2_inode_rm(struct bch_fs *, u64);