aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/alloc.h
diff options
context:
space:
mode:
authorJoel Becker <joel.becker@oracle.com>2009-02-12 17:49:26 -0800
committerJoel Becker <joel.becker@oracle.com>2009-09-04 16:07:52 -0700
commit3d03a305ded8057155bd3c801e64ffef9f534827 (patch)
tree4f220711f42c1abbd80a9fe8c2b6ee47e846a587 /fs/ocfs2/alloc.h
parentd9a0a1f83bf083b55b3c1f16efddecc31abace61 (diff)
downloadkernel_samsung_aries-3d03a305ded8057155bd3c801e64ffef9f534827.zip
kernel_samsung_aries-3d03a305ded8057155bd3c801e64ffef9f534827.tar.gz
kernel_samsung_aries-3d03a305ded8057155bd3c801e64ffef9f534827.tar.bz2
ocfs2: Pass ocfs2_caching_info to ocfs2_read_extent_block().
extent blocks belong to btrees on more than just inodes, so we want to pass the ocfs2_caching_info structure directly to ocfs2_read_extent_block(). A number of places in alloc.c can now drop struct inode from their argument list. Signed-off-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'fs/ocfs2/alloc.h')
-rw-r--r--fs/ocfs2/alloc.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ocfs2/alloc.h b/fs/ocfs2/alloc.h
index 285d40b..ed78ee5 100644
--- a/fs/ocfs2/alloc.h
+++ b/fs/ocfs2/alloc.h
@@ -86,7 +86,7 @@ void ocfs2_init_dx_root_extent_tree(struct ocfs2_extent_tree *et,
* allocated. This is a cached read. The extent block will be validated
* with ocfs2_validate_extent_block().
*/
-int ocfs2_read_extent_block(struct inode *inode, u64 eb_blkno,
+int ocfs2_read_extent_block(struct ocfs2_caching_info *ci, u64 eb_blkno,
struct buffer_head **bh);
struct ocfs2_alloc_context;
@@ -132,7 +132,6 @@ int ocfs2_remove_btree_range(struct inode *inode,
struct ocfs2_cached_dealloc_ctxt *dealloc);
int ocfs2_num_free_extents(struct ocfs2_super *osb,
- struct inode *inode,
struct ocfs2_extent_tree *et);
/*