]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - fs/fat/inode.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[mirror_ubuntu-artful-kernel.git] / fs / fat / inode.c
index da04c0298fab40c1df4d22dd2492ec8d7ef26a4d..338d2f73eb29c8f1691a22a162e5929875bbf8cf 100644 (file)
@@ -237,7 +237,7 @@ static int fat_write_end(struct file *file, struct address_space *mapping,
        if (err < len)
                fat_write_failed(mapping, pos + len);
        if (!(err < 0) && !(MSDOS_I(inode)->i_attrs & ATTR_ARCH)) {
-               inode->i_mtime = inode->i_ctime = CURRENT_TIME_SEC;
+               inode->i_mtime = inode->i_ctime = current_time(inode);
                MSDOS_I(inode)->i_attrs |= ATTR_ARCH;
                mark_inode_dirty(inode);
        }