diff options
author | Jeff Layton <jlayton@kernel.org> | 2023-10-04 14:51:53 -0400 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-10-18 13:26:16 +0200 |
commit | 4a2ef475464cd823ec8edc6b33b5c1b40f46cb1a (patch) | |
tree | 7a178c71d8f3d0c34d038aa29d258c8d578d0ca1 /drivers/misc/ibmasm | |
parent | 7e6481cebde6649d63b41398c8200c0d4c4762ea (diff) |
ibmasm: 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-6-jlayton@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'drivers/misc/ibmasm')
-rw-r--r-- | drivers/misc/ibmasm/ibmasmfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/ibmasm/ibmasmfs.c b/drivers/misc/ibmasm/ibmasmfs.c index 5867af9f592c..c44de892a61e 100644 --- a/drivers/misc/ibmasm/ibmasmfs.c +++ b/drivers/misc/ibmasm/ibmasmfs.c @@ -139,7 +139,7 @@ static struct inode *ibmasmfs_make_inode(struct super_block *sb, int mode) if (ret) { ret->i_ino = get_next_ino(); ret->i_mode = mode; - ret->i_atime = ret->i_mtime = inode_set_ctime_current(ret); + simple_inode_init_ts(ret); } return ret; } |