diff options
author | Jeff Layton <jlayton@kernel.org> | 2023-10-04 21:52:03 +0300 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-10-18 14:26:18 +0300 |
commit | 562ce1f7547c083ee44b26796d771361a8b2ead6 (patch) | |
tree | 28f0c195e837984a52bd4cc9f9d1fd40289a3f68 /fs/afs/dynroot.c | |
parent | ea7719af1b48fad4f4151cb1753f83646cef6bb9 (diff) | |
download | linux-562ce1f7547c083ee44b26796d771361a8b2ead6.tar.xz |
afs: 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-16-jlayton@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/afs/dynroot.c')
-rw-r--r-- | fs/afs/dynroot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/afs/dynroot.c b/fs/afs/dynroot.c index 95bcbd7654d1..4d04ef2d3ae7 100644 --- a/fs/afs/dynroot.c +++ b/fs/afs/dynroot.c @@ -88,7 +88,7 @@ struct inode *afs_iget_pseudo_dir(struct super_block *sb, bool root) set_nlink(inode, 2); inode->i_uid = GLOBAL_ROOT_UID; inode->i_gid = GLOBAL_ROOT_GID; - inode->i_atime = inode->i_mtime = inode_set_ctime_current(inode); + simple_inode_init_ts(inode); inode->i_blocks = 0; inode->i_generation = 0; |