aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/namei.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ocfs2/namei.c')
-rw-r--r--fs/ocfs2/namei.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/ocfs2/namei.c b/fs/ocfs2/namei.c
index 8601f934010b..689761b57a18 100644
--- a/fs/ocfs2/namei.c
+++ b/fs/ocfs2/namei.c
@@ -507,7 +507,7 @@ static int ocfs2_mknod_locked(struct ocfs2_super *osb,
507 mlog_errno(status); 507 mlog_errno(status);
508 goto leave; 508 goto leave;
509 } 509 }
510 ocfs2_set_new_buffer_uptodate(inode, *new_fe_bh); 510 ocfs2_set_new_buffer_uptodate(INODE_CACHE(inode), *new_fe_bh);
511 511
512 status = ocfs2_journal_access_di(handle, inode, *new_fe_bh, 512 status = ocfs2_journal_access_di(handle, inode, *new_fe_bh,
513 OCFS2_JOURNAL_ACCESS_CREATE); 513 OCFS2_JOURNAL_ACCESS_CREATE);
@@ -1527,7 +1527,8 @@ static int ocfs2_create_symlink_data(struct ocfs2_super *osb,
1527 mlog_errno(status); 1527 mlog_errno(status);
1528 goto bail; 1528 goto bail;
1529 } 1529 }
1530 ocfs2_set_new_buffer_uptodate(inode, bhs[virtual]); 1530 ocfs2_set_new_buffer_uptodate(INODE_CACHE(inode),
1531 bhs[virtual]);
1531 1532
1532 status = ocfs2_journal_access(handle, inode, bhs[virtual], 1533 status = ocfs2_journal_access(handle, inode, bhs[virtual],
1533 OCFS2_JOURNAL_ACCESS_CREATE); 1534 OCFS2_JOURNAL_ACCESS_CREATE);