aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_inode.c')
-rw-r--r--fs/xfs/xfs_inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c
index e08eaea6327b..020110b76a40 100644
--- a/fs/xfs/xfs_inode.c
+++ b/fs/xfs/xfs_inode.c
@@ -821,7 +821,7 @@ xfs_ialloc(
821 ip->i_d.di_nextents = 0; 821 ip->i_d.di_nextents = 0;
822 ASSERT(ip->i_d.di_nblocks == 0); 822 ASSERT(ip->i_d.di_nblocks == 0);
823 823
824 tv = current_fs_time(mp->m_super); 824 tv = current_time(inode);
825 inode->i_mtime = tv; 825 inode->i_mtime = tv;
826 inode->i_atime = tv; 826 inode->i_atime = tv;
827 inode->i_ctime = tv; 827 inode->i_ctime = tv;