projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e6481c
)
ibmasm: convert to new timestamp accessors
author
Jeff Layton
<jlayton@kernel.org>
Wed, 4 Oct 2023 18:51:53 +0000
(14:51 -0400)
committer
Christian Brauner
<brauner@kernel.org>
Wed, 18 Oct 2023 11:26:16 +0000
(13:26 +0200)
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>
drivers/misc/ibmasm/ibmasmfs.c
patch
|
blob
|
history
diff --git
a/drivers/misc/ibmasm/ibmasmfs.c
b/drivers/misc/ibmasm/ibmasmfs.c
index 5867af9f592cdb46e4c15d3980cae1f55d6561b3..c44de892a61ec474ba0d642201b73cc045ff5d65 100644
(file)
--- 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;
}