diff options
Diffstat (limited to 'fs/ocfs2/dir.c')
-rw-r--r-- | fs/ocfs2/dir.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/ocfs2/dir.c b/fs/ocfs2/dir.c index ba0fb9e16264..d17c34b0ac6b 100644 --- a/fs/ocfs2/dir.c +++ b/fs/ocfs2/dir.c | |||
@@ -1383,9 +1383,9 @@ static int ocfs2_do_extend_dir(struct super_block *sb, | |||
1383 | if (extend) { | 1383 | if (extend) { |
1384 | u32 offset = OCFS2_I(dir)->ip_clusters; | 1384 | u32 offset = OCFS2_I(dir)->ip_clusters; |
1385 | 1385 | ||
1386 | status = ocfs2_do_extend_allocation(OCFS2_SB(sb), dir, &offset, | 1386 | status = ocfs2_add_inode_data(OCFS2_SB(sb), dir, &offset, |
1387 | 1, 0, parent_fe_bh, handle, | 1387 | 1, 0, parent_fe_bh, handle, |
1388 | data_ac, meta_ac, NULL); | 1388 | data_ac, meta_ac, NULL); |
1389 | BUG_ON(status == -EAGAIN); | 1389 | BUG_ON(status == -EAGAIN); |
1390 | if (status < 0) { | 1390 | if (status < 0) { |
1391 | mlog_errno(status); | 1391 | mlog_errno(status); |