mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-03-15 11:34:41 +00:00
audit_init_parent(): constify path
Reviewed-by: Christian Brauner (Microsoft) <brauner@kernel.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
e81f574da0
commit
bf2e1ae417
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue