diff options
author | Jeff Layton <jlayton@kernel.org> | 2023-10-04 20:52:15 +0200 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-10-18 13:26:20 +0200 |
commit | da06c204ff347dd75342eeeb618480b51b3874db (patch) | |
tree | 07dd76cd70e7f7d9f64d81083359e9b7f76fcc2b /fs/efivarfs/inode.c | |
parent | devpts: convert to new timestamp accessors (diff) | |
download | linux-da06c204ff347dd75342eeeb618480b51b3874db.tar.xz linux-da06c204ff347dd75342eeeb618480b51b3874db.zip |
efivarfs: 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-28-jlayton@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/efivarfs/inode.c')
-rw-r--r-- | fs/efivarfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/efivarfs/inode.c b/fs/efivarfs/inode.c index db9231f0e77b..76dd3c7295d9 100644 --- a/fs/efivarfs/inode.c +++ b/fs/efivarfs/inode.c @@ -25,7 +25,7 @@ struct inode *efivarfs_get_inode(struct super_block *sb, if (inode) { inode->i_ino = get_next_ino(); inode->i_mode = mode; - inode->i_atime = inode->i_mtime = inode_set_ctime_current(inode); + simple_inode_init_ts(inode); inode->i_flags = is_removable ? 0 : S_IMMUTABLE; switch (mode & S_IFMT) { case S_IFREG: |