Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[cascardo/linux.git] / fs / ntfs / inode.c
index 9d7a448..7c410f8 100644 (file)
@@ -2813,7 +2813,7 @@ done:
         * for real.
         */
        if (!IS_NOCMTIME(VFS_I(base_ni)) && !IS_RDONLY(VFS_I(base_ni))) {
-               struct timespec now = current_fs_time(VFS_I(base_ni)->i_sb);
+               struct timespec now = current_time(VFS_I(base_ni));
                int sync_it = 0;
 
                if (!timespec_equal(&VFS_I(base_ni)->i_mtime, &now) ||