aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/aops.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ocfs2/aops.c')
-rw-r--r--fs/ocfs2/aops.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/ocfs2/aops.c b/fs/ocfs2/aops.c
index a53da1466277..e2008dcec753 100644
--- a/fs/ocfs2/aops.c
+++ b/fs/ocfs2/aops.c
@@ -1712,8 +1712,9 @@ int ocfs2_write_begin_nolock(struct address_space *mapping,
1712 * ocfs2_lock_allocators(). It greatly over-estimates 1712 * ocfs2_lock_allocators(). It greatly over-estimates
1713 * the work to be done. 1713 * the work to be done.
1714 */ 1714 */
1715 ret = ocfs2_lock_allocators(inode, di, clusters_to_alloc, 1715 ret = ocfs2_lock_allocators(inode, wc->w_di_bh,
1716 extents_to_split, &data_ac, &meta_ac); 1716 clusters_to_alloc, extents_to_split,
1717 &data_ac, &meta_ac);
1717 if (ret) { 1718 if (ret) {
1718 mlog_errno(ret); 1719 mlog_errno(ret);
1719 goto out; 1720 goto out;