summaryrefslogtreecommitdiff
path: root/fs/tracefs/inode.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2023-10-04 21:52:57 +0300
committerChristian Brauner <brauner@kernel.org>2023-10-18 15:08:28 +0300
commit079cf91e0eb1a2bb5891a4e17c690ebf7e935969 (patch)
tree1a28e48b98fadf038cbcd0af5af5a8968daf9abe /fs/tracefs/inode.c
parentae3d362acffc5c901f8579352f1ddbb5797fc06a (diff)
downloadlinux-079cf91e0eb1a2bb5891a4e17c690ebf7e935969.tar.xz
tracefs: 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-70-jlayton@kernel.org Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/tracefs/inode.c')
-rw-r--r--fs/tracefs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/tracefs/inode.c b/fs/tracefs/inode.c
index 891653ba9cf3..429603d865a9 100644
--- a/fs/tracefs/inode.c
+++ b/fs/tracefs/inode.c
@@ -152,7 +152,7 @@ struct inode *tracefs_get_inode(struct super_block *sb)
struct inode *inode = new_inode(sb);
if (inode) {
inode->i_ino = get_next_ino();
- inode->i_atime = inode->i_mtime = inode_set_ctime_current(inode);
+ simple_inode_init_ts(inode);
}
return inode;
}