diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2022-08-04 13:15:52 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2022-09-01 17:39:30 -0400 |
commit | bf2e1ae41731f940f9b977820e4c68454a639909 (patch) | |
tree | aa27c423bdde4a231abe00d26404d470d0263158 /kernel/audit_watch.c | |
parent | e81f574da024f662cf39fc4ff60f464ec6364ac6 (diff) |
audit_init_parent(): constify path
Reviewed-by: Christian Brauner (Microsoft) <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel/audit_watch.c')
-rw-r--r-- | kernel/audit_watch.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |