aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ocfs2/file.c')
-rw-r--r--fs/ocfs2/file.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c
index aa501d3f93f1..3ddbc5e917e2 100644
--- a/fs/ocfs2/file.c
+++ b/fs/ocfs2/file.c
@@ -259,7 +259,7 @@ int ocfs2_update_inode_atime(struct inode *inode,
259 goto out; 259 goto out;
260 } 260 }
261 261
262 ret = ocfs2_journal_access_di(handle, inode, bh, 262 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), bh,
263 OCFS2_JOURNAL_ACCESS_WRITE); 263 OCFS2_JOURNAL_ACCESS_WRITE);
264 if (ret) { 264 if (ret) {
265 mlog_errno(ret); 265 mlog_errno(ret);
@@ -356,7 +356,7 @@ static int ocfs2_orphan_for_truncate(struct ocfs2_super *osb,
356 goto out; 356 goto out;
357 } 357 }
358 358
359 status = ocfs2_journal_access_di(handle, inode, fe_bh, 359 status = ocfs2_journal_access_di(handle, INODE_CACHE(inode), fe_bh,
360 OCFS2_JOURNAL_ACCESS_WRITE); 360 OCFS2_JOURNAL_ACCESS_WRITE);
361 if (status < 0) { 361 if (status < 0) {
362 mlog_errno(status); 362 mlog_errno(status);
@@ -593,7 +593,7 @@ restarted_transaction:
593 /* reserve a write to the file entry early on - that we if we 593 /* reserve a write to the file entry early on - that we if we
594 * run out of credits in the allocation path, we can still 594 * run out of credits in the allocation path, we can still
595 * update i_size. */ 595 * update i_size. */
596 status = ocfs2_journal_access_di(handle, inode, bh, 596 status = ocfs2_journal_access_di(handle, INODE_CACHE(inode), bh,
597 OCFS2_JOURNAL_ACCESS_WRITE); 597 OCFS2_JOURNAL_ACCESS_WRITE);
598 if (status < 0) { 598 if (status < 0) {
599 mlog_errno(status); 599 mlog_errno(status);
@@ -1131,7 +1131,7 @@ static int __ocfs2_write_remove_suid(struct inode *inode,
1131 goto out; 1131 goto out;
1132 } 1132 }
1133 1133
1134 ret = ocfs2_journal_access_di(handle, inode, bh, 1134 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), bh,
1135 OCFS2_JOURNAL_ACCESS_WRITE); 1135 OCFS2_JOURNAL_ACCESS_WRITE);
1136 if (ret < 0) { 1136 if (ret < 0) {
1137 mlog_errno(ret); 1137 mlog_errno(ret);