diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2017-10-05 14:41:44 -0800 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2017-10-08 10:25:33 -0800 |
commit | 85ee972555948337bb1a58f0702a4da95db6758f (patch) | |
tree | 34f13bce6d9ad221593a45d3ee3b489b777cba04 /libbcachefs/inode.h | |
parent | e7c2bb91bce30a987c8c4e2875f2c63e887d3aa5 (diff) |
Update bcachefs sources to e82e656279 bcachefs: Cleanups for building in userspace
Diffstat (limited to 'libbcachefs/inode.h')
-rw-r--r-- | libbcachefs/inode.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libbcachefs/inode.h b/libbcachefs/inode.h index 06e2ffda..22aac3e6 100644 --- a/libbcachefs/inode.h +++ b/libbcachefs/inode.h @@ -1,5 +1,5 @@ -#ifndef _BCACHE_INODE_H -#define _BCACHE_INODE_H +#ifndef _BCACHEFS_INODE_H +#define _BCACHEFS_INODE_H #include <linux/math64.h> @@ -29,7 +29,8 @@ 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); -int bch2_inode_create(struct bch_fs *, struct bkey_i *, 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); @@ -60,4 +61,4 @@ void bch2_inode_pack_test(void); static inline void bch2_inode_pack_test(void) {} #endif -#endif +#endif /* _BCACHEFS_INODE_H */ |