Skip to content

Commit bf2e1ae

Browse files
author
Al Viro
committed
audit_init_parent(): constify path
Reviewed-by: Christian Brauner (Microsoft) <[email protected]> Signed-off-by: Al Viro <[email protected]>
1 parent e81f574 commit bf2e1ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/audit_watch.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ int audit_watch_compare(struct audit_watch *watch, unsigned long ino, dev_t dev)
133133
}
134134

135135
/* Initialize a parent watch entry. */
136-
static struct audit_parent *audit_init_parent(struct path *path)
136+
static struct audit_parent *audit_init_parent(const struct path *path)
137137
{
138138
struct inode *inode = d_backing_inode(path->dentry);
139139
struct audit_parent *parent;

0 commit comments

Comments
 (0)