aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/ocfs2/xattr.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/ocfs2/xattr.c b/fs/ocfs2/xattr.c
index 915039fffe6e..e3933158e1d7 100644
--- a/fs/ocfs2/xattr.c
+++ b/fs/ocfs2/xattr.c
@@ -2592,8 +2592,9 @@ static int __ocfs2_xattr_set_handle(struct inode *inode,
2592 2592
2593 if (!ret) { 2593 if (!ret) {
2594 /* Update inode ctime. */ 2594 /* Update inode ctime. */
2595 ret = ocfs2_journal_access(ctxt->handle, inode, xis->inode_bh, 2595 ret = ocfs2_journal_access_di(ctxt->handle, inode,
2596 OCFS2_JOURNAL_ACCESS_WRITE); 2596 xis->inode_bh,
2597 OCFS2_JOURNAL_ACCESS_WRITE);
2597 if (ret) { 2598 if (ret) {
2598 mlog_errno(ret); 2599 mlog_errno(ret);
2599 goto out; 2600 goto out;