]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/ocfs2/namei.c
ocfs2: Make high level btree extend code generic
[linux-2.6-omap-h63xx.git] / fs / ocfs2 / namei.c
index d5d808fe0140f7fb1e590c0255dd045542219bd1..2cd6f501755e38c1fdc79d5dfa416ad8fc2ee717 100644 (file)
@@ -1598,10 +1598,10 @@ static int ocfs2_symlink(struct inode *dir,
                u32 offset = 0;
 
                inode->i_op = &ocfs2_symlink_inode_operations;
-               status = ocfs2_do_extend_allocation(osb, inode, &offset, 1, 0,
-                                                   new_fe_bh,
-                                                   handle, data_ac, NULL,
-                                                   NULL);
+               status = ocfs2_add_inode_data(osb, inode, &offset, 1, 0,
+                                             new_fe_bh,
+                                             handle, data_ac, NULL,
+                                             NULL);
                if (status < 0) {
                        if (status != -ENOSPC && status != -EINTR) {
                                mlog(ML_ERROR,