diff options
author | Chris Mason <chris.mason@oracle.com> | 2007-03-20 15:57:25 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2007-03-20 15:57:25 -0400 |
commit | 293ffd5fd340428276fbbd24ce7b98bf6728466b (patch) | |
tree | c5dffe6de35a8625bcfc13275b47385741840635 /fs/btrfs/ctree.h | |
parent | 313a013bb927cfba849b1bb746e9112ba856e43a (diff) |
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.h | 6 |
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 { | |||
219 | struct list_head cache; | 219 | struct list_head cache; |
220 | u64 last_inode_alloc; | 220 | u64 last_inode_alloc; |
221 | u64 last_inode_alloc_dirid; | 221 | u64 last_inode_alloc_dirid; |
222 | u64 generation; | ||
222 | int cache_size; | 223 | int cache_size; |
223 | int fp; | 224 | int fp; |
224 | struct btrfs_trans_handle *running_transaction; | 225 | struct btrfs_trans_handle *running_transaction; |
@@ -802,4 +803,9 @@ int btrfs_insert_inode_map(struct btrfs_trans_handle *trans, | |||
802 | int btrfs_lookup_inode_map(struct btrfs_trans_handle *trans, | 803 | int btrfs_lookup_inode_map(struct btrfs_trans_handle *trans, |
803 | struct btrfs_root *root, struct btrfs_path *path, | 804 | struct btrfs_root *root, struct btrfs_path *path, |
804 | u64 objectid, int mod); | 805 | u64 objectid, int mod); |
806 | int btrfs_insert_inode(struct btrfs_trans_handle *trans, struct btrfs_root | ||
807 | *root, u64 objectid, struct btrfs_inode_item | ||
808 | *inode_item); | ||
809 | int btrfs_lookup_inode(struct btrfs_trans_handle *trans, struct btrfs_root | ||
810 | *root, struct btrfs_path *path, u64 objectid, int mod); | ||
805 | #endif | 811 | #endif |