projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7563c93
)
selinux: convert to new timestamp accessors
author
Jeff Layton
<jlayton@kernel.org>
Wed, 4 Oct 2023 18:53:10 +0000
(14:53 -0400)
committer
Christian Brauner
<brauner@kernel.org>
Wed, 18 Oct 2023 12:08:31 +0000
(14:08 +0200)
Convert to using the new inode timestamp accessor functions.
Acked-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Link:
https://lore.kernel.org/r/20231004185347.80880-83-jlayton@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
security/selinux/selinuxfs.c
patch
|
blob
|
history
diff --git
a/security/selinux/selinuxfs.c
b/security/selinux/selinuxfs.c
index 6fa640263216fc917635228f42536887a5b05901..6c596ae7fef94d63ea3300ced7481fa9557f8a20 100644
(file)
--- a/
security/selinux/selinuxfs.c
+++ b/
security/selinux/selinuxfs.c
@@
-1198,7
+1198,7
@@
static struct inode *sel_make_inode(struct super_block *sb, umode_t mode)
if (ret) {
ret->i_mode = mode;
-
ret->i_atime = ret->i_mtime = inode_set_ctime_current
(ret);
+
simple_inode_init_ts
(ret);
}
return ret;
}