diff options
Diffstat (limited to 'fs/ocfs2/namei.c')
-rw-r--r-- | fs/ocfs2/namei.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/ocfs2/namei.c b/fs/ocfs2/namei.c index d5d808fe0140..2cd6f501755e 100644 --- a/fs/ocfs2/namei.c +++ b/fs/ocfs2/namei.c | |||
@@ -1598,10 +1598,10 @@ static int ocfs2_symlink(struct inode *dir, | |||
1598 | u32 offset = 0; | 1598 | u32 offset = 0; |
1599 | 1599 | ||
1600 | inode->i_op = &ocfs2_symlink_inode_operations; | 1600 | inode->i_op = &ocfs2_symlink_inode_operations; |
1601 | status = ocfs2_do_extend_allocation(osb, inode, &offset, 1, 0, | 1601 | status = ocfs2_add_inode_data(osb, inode, &offset, 1, 0, |
1602 | new_fe_bh, | 1602 | new_fe_bh, |
1603 | handle, data_ac, NULL, | 1603 | handle, data_ac, NULL, |
1604 | NULL); | 1604 | NULL); |
1605 | if (status < 0) { | 1605 | if (status < 0) { |
1606 | if (status != -ENOSPC && status != -EINTR) { | 1606 | if (status != -ENOSPC && status != -EINTR) { |
1607 | mlog(ML_ERROR, | 1607 | mlog(ML_ERROR, |