diff options
author | Jeff Layton <jlayton@kernel.org> | 2023-10-04 20:52:57 +0200 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-10-18 14:08:28 +0200 |
commit | 079cf91e0eb1a2bb5891a4e17c690ebf7e935969 (patch) | |
tree | 1a28e48b98fadf038cbcd0af5af5a8968daf9abe /fs/tracefs | |
parent | sysv: convert to new timestamp accessors (diff) | |
download | linux-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.c | 2 |
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; } |