aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs')
-rw-r--r--fs/xfs/xfs_acl.c2
-rw-r--r--fs/xfs/xfs_inode.c2
-rw-r--r--fs/xfs/xfs_iops.c2
-rw-r--r--fs/xfs/xfs_trans_inode.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/fs/xfs/xfs_acl.c b/fs/xfs/xfs_acl.c
index b6e527b8eccb..74f7c68105b9 100644
--- a/fs/xfs/xfs_acl.c
+++ b/fs/xfs/xfs_acl.c
@@ -236,7 +236,7 @@ xfs_set_mode(struct inode *inode, umode_t mode)
236 236
237 iattr.ia_valid = ATTR_MODE | ATTR_CTIME; 237 iattr.ia_valid = ATTR_MODE | ATTR_CTIME;
238 iattr.ia_mode = mode; 238 iattr.ia_mode = mode;
239 iattr.ia_ctime = current_fs_time(inode->i_sb); 239 iattr.ia_ctime = current_time(inode);
240 240
241 error = xfs_setattr_nonsize(XFS_I(inode), &iattr, XFS_ATTR_NOACL); 241 error = xfs_setattr_nonsize(XFS_I(inode), &iattr, XFS_ATTR_NOACL);
242 } 242 }
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;
diff --git a/fs/xfs/xfs_iops.c b/fs/xfs/xfs_iops.c
index b24c3102fa93..08c33f7fbe49 100644
--- a/fs/xfs/xfs_iops.c
+++ b/fs/xfs/xfs_iops.c
@@ -882,7 +882,7 @@ xfs_setattr_size(
882 if (newsize != oldsize && 882 if (newsize != oldsize &&
883 !(iattr->ia_valid & (ATTR_CTIME | ATTR_MTIME))) { 883 !(iattr->ia_valid & (ATTR_CTIME | ATTR_MTIME))) {
884 iattr->ia_ctime = iattr->ia_mtime = 884 iattr->ia_ctime = iattr->ia_mtime =
885 current_fs_time(inode->i_sb); 885 current_time(inode);
886 iattr->ia_valid |= ATTR_CTIME | ATTR_MTIME; 886 iattr->ia_valid |= ATTR_CTIME | ATTR_MTIME;
887 } 887 }
888 888
diff --git a/fs/xfs/xfs_trans_inode.c b/fs/xfs/xfs_trans_inode.c
index 11a3af08b5c7..dab8daa676f9 100644
--- a/fs/xfs/xfs_trans_inode.c
+++ b/fs/xfs/xfs_trans_inode.c
@@ -73,7 +73,7 @@ xfs_trans_ichgtime(
73 ASSERT(tp); 73 ASSERT(tp);
74 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); 74 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL));
75 75
76 tv = current_fs_time(inode->i_sb); 76 tv = current_time(inode);
77 77
78 if (flags & XFS_ICHGTIME_MOD) 78 if (flags & XFS_ICHGTIME_MOD)
79 inode->i_mtime = tv; 79 inode->i_mtime = tv;