aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs/coda/dir.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2023-10-04 14:52:10 -0400
committerChristian Brauner <brauner@kernel.org>2023-10-18 13:26:19 +0200
commit581a4d0030011367dec1defff3361d982674c294 (patch)
tree473a2b8abb09ad8382748b2508605b43e3ce3bc2 /fs/coda/dir.c
parentceph: convert to new timestamp accessors (diff)
downloadwireguard-linux-581a4d0030011367dec1defff3361d982674c294.tar.xz
wireguard-linux-581a4d0030011367dec1defff3361d982674c294.zip
coda: convert to new timestamp accessors
Convert to using the new inode timestamp accessor functions. Signed-off-by: Jeff Layton <jlayton@kernel.org> Link: https://lore.kernel.org/r/20231004185347.80880-23-jlayton@kernel.org Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/coda/dir.c')
-rw-r--r--fs/coda/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/coda/dir.c b/fs/coda/dir.c
index cb512b10473b..4e552ba7bd43 100644
--- a/fs/coda/dir.c
+++ b/fs/coda/dir.c
@@ -111,7 +111,7 @@ static inline void coda_dir_update_mtime(struct inode *dir)
/* optimistically we can also act as if our nose bleeds. The
* granularity of the mtime is coarse anyways so we might actually be
* right most of the time. Note: we only do this for directories. */
- dir->i_mtime = inode_set_ctime_current(dir);
+ inode_set_mtime_to_ts(dir, inode_set_ctime_current(dir));
#endif
}