diff options
Diffstat (limited to 'fs/xfs/xfs_iops.c')
-rw-r--r-- | fs/xfs/xfs_iops.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 | ||