]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/ocfs2/acl.c
Merge remote-tracking branches 'regmap/fix/header' and 'regmap/fix/macro' into regmap...
[karo-tx-linux.git] / fs / ocfs2 / acl.c
index 164307b994052cb658b08cb8c28da524dedfe644..bed1fcb630888746d28ba17e6ed3c0fdb6b2aa31 100644 (file)
@@ -201,7 +201,7 @@ static int ocfs2_acl_set_mode(struct inode *inode, struct buffer_head *di_bh,
        }
 
        inode->i_mode = new_mode;
-       inode->i_ctime = CURRENT_TIME;
+       inode->i_ctime = current_time(inode);
        di->i_mode = cpu_to_le16(inode->i_mode);
        di->i_ctime = cpu_to_le64(inode->i_ctime.tv_sec);
        di->i_ctime_nsec = cpu_to_le32(inode->i_ctime.tv_nsec);