diff options
Diffstat (limited to 'fs/configfs/inode.c')
-rw-r--r-- | fs/configfs/inode.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/configfs/inode.c b/fs/configfs/inode.c index ad718e5e37bb..28ef9e528853 100644 --- a/fs/configfs/inode.c +++ b/fs/configfs/inode.c | |||
@@ -90,14 +90,14 @@ int configfs_setattr(struct dentry * dentry, struct iattr * iattr) | |||
90 | if (ia_valid & ATTR_GID) | 90 | if (ia_valid & ATTR_GID) |
91 | sd_iattr->ia_gid = iattr->ia_gid; | 91 | sd_iattr->ia_gid = iattr->ia_gid; |
92 | if (ia_valid & ATTR_ATIME) | 92 | if (ia_valid & ATTR_ATIME) |
93 | sd_iattr->ia_atime = timespec_trunc(iattr->ia_atime, | 93 | sd_iattr->ia_atime = timespec64_trunc(iattr->ia_atime, |
94 | inode->i_sb->s_time_gran); | 94 | inode->i_sb->s_time_gran); |
95 | if (ia_valid & ATTR_MTIME) | 95 | if (ia_valid & ATTR_MTIME) |
96 | sd_iattr->ia_mtime = timespec_trunc(iattr->ia_mtime, | 96 | sd_iattr->ia_mtime = timespec64_trunc(iattr->ia_mtime, |
97 | inode->i_sb->s_time_gran); | 97 | inode->i_sb->s_time_gran); |
98 | if (ia_valid & ATTR_CTIME) | 98 | if (ia_valid & ATTR_CTIME) |
99 | sd_iattr->ia_ctime = timespec_trunc(iattr->ia_ctime, | 99 | sd_iattr->ia_ctime = timespec64_trunc(iattr->ia_ctime, |
100 | inode->i_sb->s_time_gran); | 100 | inode->i_sb->s_time_gran); |
101 | if (ia_valid & ATTR_MODE) { | 101 | if (ia_valid & ATTR_MODE) { |
102 | umode_t mode = iattr->ia_mode; | 102 | umode_t mode = iattr->ia_mode; |
103 | 103 | ||