diff options
Diffstat (limited to 'fs/ocfs2/aops.c')
-rw-r--r-- | fs/ocfs2/aops.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ocfs2/aops.c b/fs/ocfs2/aops.c index e2008dcec753..bbe3f8b2d0e2 100644 --- a/fs/ocfs2/aops.c +++ b/fs/ocfs2/aops.c | |||
@@ -1720,7 +1720,8 @@ int ocfs2_write_begin_nolock(struct address_space *mapping, | |||
1720 | goto out; | 1720 | goto out; |
1721 | } | 1721 | } |
1722 | 1722 | ||
1723 | credits = ocfs2_calc_extend_credits(inode->i_sb, di, | 1723 | credits = ocfs2_calc_extend_credits(inode->i_sb, |
1724 | &di->id2.i_list, | ||
1724 | clusters_to_alloc); | 1725 | clusters_to_alloc); |
1725 | 1726 | ||
1726 | } | 1727 | } |