audit_init_parent(): constify path
[linux-2.6-block.git] / kernel / audit_watch.c
index 4b0957aa2cd4e62544164d51ad11943fd4ab330d..65075f1e4ac8c8751b639bff2d7b66f79c6a7dec 100644 (file)
@@ -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;