Message ID | 20220820181256.1535714-7-viro@zeniv.linux.org.uk (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Subject: [PATCH 01/11] ->getprocattr(): attribute name is const char *, TYVM... | expand |
diff --git a/kernel/audit_watch.c b/kernel/audit_watch.c index 4b0957aa2cd4..65075f1e4ac8 100644 --- 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;
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> --- kernel/audit_watch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)