diff options
Diffstat (limited to 'fs/ocfs2/extent_map.c')
-rw-r--r-- | fs/ocfs2/extent_map.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/ocfs2/extent_map.c b/fs/ocfs2/extent_map.c index a5dc13e6fe76..dc9482cb463a 100644 --- a/fs/ocfs2/extent_map.c +++ b/fs/ocfs2/extent_map.c | |||
@@ -428,7 +428,8 @@ static int ocfs2_get_clusters_nocache(struct inode *inode, | |||
428 | tree_height = le16_to_cpu(el->l_tree_depth); | 428 | tree_height = le16_to_cpu(el->l_tree_depth); |
429 | 429 | ||
430 | if (tree_height > 0) { | 430 | if (tree_height > 0) { |
431 | ret = ocfs2_find_leaf(inode, el, v_cluster, &eb_bh); | 431 | ret = ocfs2_find_leaf(INODE_CACHE(inode), el, v_cluster, |
432 | &eb_bh); | ||
432 | if (ret) { | 433 | if (ret) { |
433 | mlog_errno(ret); | 434 | mlog_errno(ret); |
434 | goto out; | 435 | goto out; |
@@ -548,7 +549,8 @@ int ocfs2_xattr_get_clusters(struct inode *inode, u32 v_cluster, | |||
548 | u32 coff; | 549 | u32 coff; |
549 | 550 | ||
550 | if (el->l_tree_depth) { | 551 | if (el->l_tree_depth) { |
551 | ret = ocfs2_find_leaf(inode, el, v_cluster, &eb_bh); | 552 | ret = ocfs2_find_leaf(INODE_CACHE(inode), el, v_cluster, |
553 | &eb_bh); | ||
552 | if (ret) { | 554 | if (ret) { |
553 | mlog_errno(ret); | 555 | mlog_errno(ret); |
554 | goto out; | 556 | goto out; |