aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-04-05 13:35:25 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-04-05 13:35:25 -0400
commit5be6f7f174146d91039a27ebb2f1b4ac599172b3 (patch)
tree2933d1e9e5cb50c4ca93f6e8c7e133d65a614461 /fs/btrfs/ctree.h
parent7fcde0e3298c00ee18e2ae7f01c67f99133ef7be (diff)
Btrfs: dirindex optimizations
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index 794f7e4f1c07..6d40758b893f 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -239,6 +239,7 @@ struct btrfs_fs_info {
239 struct radix_tree_root pinned_radix; 239 struct radix_tree_root pinned_radix;
240 u64 last_inode_alloc; 240 u64 last_inode_alloc;
241 u64 generation; 241 u64 generation;
242 u64 highest_inode;
242 struct btrfs_transaction *running_transaction; 243 struct btrfs_transaction *running_transaction;
243 struct btrfs_super_block *disk_super; 244 struct btrfs_super_block *disk_super;
244 struct buffer_head *sb_buffer; 245 struct buffer_head *sb_buffer;
@@ -970,6 +971,8 @@ int btrfs_insert_inode_map(struct btrfs_trans_handle *trans,
970int btrfs_lookup_inode_map(struct btrfs_trans_handle *trans, 971int btrfs_lookup_inode_map(struct btrfs_trans_handle *trans,
971 struct btrfs_root *root, struct btrfs_path *path, 972 struct btrfs_root *root, struct btrfs_path *path,
972 u64 objectid, int mod); 973 u64 objectid, int mod);
974int btrfs_find_highest_inode(struct btrfs_root *fs_root, u64 *objectid);
975
973/* inode-item.c */ 976/* inode-item.c */
974int btrfs_insert_inode(struct btrfs_trans_handle *trans, struct btrfs_root 977int btrfs_insert_inode(struct btrfs_trans_handle *trans, struct btrfs_root
975 *root, u64 objectid, struct btrfs_inode_item 978 *root, u64 objectid, struct btrfs_inode_item