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) | |
download | op-kernel-dev-293ffd5fd340428276fbbd24ce7b98bf6728466b.zip op-kernel-dev-293ffd5fd340428276fbbd24ce7b98bf6728466b.tar.gz |
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 68e3da2..b30b2ce 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 |