projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e81f574
)
audit_init_parent(): constify path
author
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 4 Aug 2022 17:15:52 +0000
(13:15 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 1 Sep 2022 21:39:30 +0000
(17:39 -0400)
Reviewed-by: Christian Brauner (Microsoft) <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
kernel/audit_watch.c
patch
|
blob
|
history
diff --git
a/kernel/audit_watch.c
b/kernel/audit_watch.c
index 4b0957aa2cd4e62544164d51ad11943fd4ab330d..65075f1e4ac8c8751b639bff2d7b66f79c6a7dec 100644
(file)
--- a/
kernel/audit_watch.c
+++ b/
kernel/audit_watch.c
@@
-133,7
+133,7
@@
int audit_watch_compare(struct audit_watch *watch, unsigned long ino, dev_t dev)
}
/* Initialize a parent watch entry. */
-static struct audit_parent *audit_init_parent(struct path *path)
+static struct audit_parent *audit_init_parent(
const
struct path *path)
{
struct inode *inode = d_backing_inode(path->dentry);
struct audit_parent *parent;