summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorChris Mason2007-03-20 20:57:25 +0100
committerDavid Woodhouse2007-03-20 20:57:25 +0100
commit293ffd5fd340428276fbbd24ce7b98bf6728466b (patch)
treec5dffe6de35a8625bcfc13275b47385741840635 /fs/btrfs/ctree.h
parentBtrfs: Update TODO (diff)
downloadkernel-qcow2-linux-293ffd5fd340428276fbbd24ce7b98bf6728466b.tar.gz
kernel-qcow2-linux-293ffd5fd340428276fbbd24ce7b98bf6728466b.tar.xz
kernel-qcow2-linux-293ffd5fd340428276fbbd24ce7b98bf6728466b.zip
Btrfs: change dir-test to insert inode_items
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index 68e3da274f17..b30b2ce72455 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/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