aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/xattr.c
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/xattr.c
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/xattr.c')
-rw-r--r--fs/ocfs2/xattr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ocfs2/xattr.c b/fs/ocfs2/xattr.c
index 93aae7953c2e..61819b208315 100644
--- a/fs/ocfs2/xattr.c
+++ b/fs/ocfs2/xattr.c
@@ -2854,7 +2854,8 @@ static int ocfs2_xattr_get_rec(struct inode *inode,
2854 u64 e_blkno = 0; 2854 u64 e_blkno = 0;
2855 2855
2856 if (el->l_tree_depth) { 2856 if (el->l_tree_depth) {
2857 ret = ocfs2_find_leaf(inode, el, name_hash, &eb_bh); 2857 ret = ocfs2_find_leaf(INODE_CACHE(inode), el, name_hash,
2858 &eb_bh);
2858 if (ret) { 2859 if (ret) {
2859 mlog_errno(ret); 2860 mlog_errno(ret);
2860 goto out; 2861 goto out;