Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[cascardo/linux.git] / fs / sysv / itree.c
index 2fde40a..08d3e63 100644 (file)
@@ -178,7 +178,7 @@ static inline int splice_branch(struct inode *inode,
        *where->p = where->key;
        write_unlock(&pointers_lock);
 
-       inode->i_ctime = CURRENT_TIME_SEC;
+       inode->i_ctime = current_time(inode);
 
        /* had we spliced it onto indirect block? */
        if (where->bh)
@@ -418,7 +418,7 @@ do_indirects:
                }
                n++;
        }
-       inode->i_mtime = inode->i_ctime = CURRENT_TIME_SEC;
+       inode->i_mtime = inode->i_ctime = current_time(inode);
        if (IS_SYNC(inode))
                sysv_sync_inode (inode);
        else