summaryrefslogtreecommitdiff
path: root/ctree.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-03-20 15:57:25 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-03-20 15:57:25 -0400
commitab61081c6c29bac69c5d3ea47cbd3c4352f79aea (patch)
tree54213389ddfb011c0babc341196db4025ee2e681 /ctree.h
parent57b80d980d8f3a6fb8629e74c6647ab8496d76df (diff)
change dir-test to insert inode_items
Diffstat (limited to 'ctree.h')
-rw-r--r--ctree.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ctree.h b/ctree.h
index 68e3da27..b30b2ce7 100644
--- a/ctree.h
+++ b/ctree.h
@@ -219,6 +219,7 @@ struct btrfs_fs_info {
struct list_head cache;
u64 last_inode_alloc;
u64 last_inode_alloc_dirid;
+ u64 generation;
int cache_size;
int fp;
struct btrfs_trans_handle *running_transaction;
@@ -802,4 +803,9 @@ int btrfs_insert_inode_map(struct btrfs_trans_handle *trans,
int btrfs_lookup_inode_map(struct btrfs_trans_handle *trans,
struct btrfs_root *root, struct btrfs_path *path,
u64 objectid, int mod);
+int btrfs_insert_inode(struct btrfs_trans_handle *trans, struct btrfs_root
+ *root, u64 objectid, struct btrfs_inode_item
+ *inode_item);
+int btrfs_lookup_inode(struct btrfs_trans_handle *trans, struct btrfs_root
+ *root, struct btrfs_path *path, u64 objectid, int mod);
#endif