aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/alloc.h
diff options
context:
space:
mode:
authorJoel Becker <joel.becker@oracle.com>2009-02-12 21:08:48 -0500
committerJoel Becker <joel.becker@oracle.com>2009-09-04 19:07:53 -0400
commitfacdb77f54f09a33baf6b649496f5dd1d7922a7e (patch)
tree676de8877773ae38b8379bc3d50073c0710e2d8c /fs/ocfs2/alloc.h
parent3d03a305ded8057155bd3c801e64ffef9f534827 (diff)
ocfs2: ocfs2_find_path() only needs the caching info
ocfs2_find_path and ocfs2_find_leaf() walk our btrees, reading extent blocks. They need struct ocfs2_caching_info for that, but not struct inode. Signed-off-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'fs/ocfs2/alloc.h')
-rw-r--r--fs/ocfs2/alloc.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/ocfs2/alloc.h b/fs/ocfs2/alloc.h
index ed78ee5139bc..8718e57e70a1 100644
--- a/fs/ocfs2/alloc.h
+++ b/fs/ocfs2/alloc.h
@@ -223,8 +223,9 @@ int ocfs2_commit_truncate(struct ocfs2_super *osb,
223int ocfs2_truncate_inline(struct inode *inode, struct buffer_head *di_bh, 223int ocfs2_truncate_inline(struct inode *inode, struct buffer_head *di_bh,
224 unsigned int start, unsigned int end, int trunc); 224 unsigned int start, unsigned int end, int trunc);
225 225
226int ocfs2_find_leaf(struct inode *inode, struct ocfs2_extent_list *root_el, 226int ocfs2_find_leaf(struct ocfs2_caching_info *ci,
227 u32 cpos, struct buffer_head **leaf_bh); 227 struct ocfs2_extent_list *root_el, u32 cpos,
228 struct buffer_head **leaf_bh);
228int ocfs2_search_extent_list(struct ocfs2_extent_list *el, u32 v_cluster); 229int ocfs2_search_extent_list(struct ocfs2_extent_list *el, u32 v_cluster);
229 230
230/* 231/*