diff options
author | Jeff Layton <jlayton@kernel.org> | 2023-10-04 14:52:46 -0400 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-10-18 14:08:26 +0200 |
commit | 200d942170a8e7b94d7cdc871f9a067917bc3f4a (patch) | |
tree | 73a1e9ffd66b1d15bff37493eeef92a5b4ff81a7 /fs/proc/thread_self.c | |
parent | 4ddbd0f1fe8c9edd2be5465d681834e9ab2f4dd9 (diff) | |
download | linux-stable-200d942170a8e7b94d7cdc871f9a067917bc3f4a.tar.gz linux-stable-200d942170a8e7b94d7cdc871f9a067917bc3f4a.tar.bz2 linux-stable-200d942170a8e7b94d7cdc871f9a067917bc3f4a.zip |
proc: 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-59-jlayton@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/proc/thread_self.c')
-rw-r--r-- | fs/proc/thread_self.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/thread_self.c b/fs/proc/thread_self.c index 63ac1f93289f..0e5050d6ab64 100644 --- a/fs/proc/thread_self.c +++ b/fs/proc/thread_self.c @@ -46,7 +46,7 @@ int proc_setup_thread_self(struct super_block *s) struct inode *inode = new_inode(s); if (inode) { inode->i_ino = thread_self_inum; - inode->i_mtime = inode->i_atime = inode_set_ctime_current(inode); + simple_inode_init_ts(inode); inode->i_mode = S_IFLNK | S_IRWXUGO; inode->i_uid = GLOBAL_ROOT_UID; inode->i_gid = GLOBAL_ROOT_GID; |