summaryrefslogtreecommitdiffstats
path: root/fs/tracefs
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2023-10-04 20:52:57 +0200
committerChristian Brauner <brauner@kernel.org>2023-10-18 14:08:28 +0200
commit079cf91e0eb1a2bb5891a4e17c690ebf7e935969 (patch)
tree1a28e48b98fadf038cbcd0af5af5a8968daf9abe /fs/tracefs
parentsysv: convert to new timestamp accessors (diff)
downloadlinux-079cf91e0eb1a2bb5891a4e17c690ebf7e935969.tar.xz
linux-079cf91e0eb1a2bb5891a4e17c690ebf7e935969.zip
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')
-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;
}