kill path_lookup()

all remaining callers pass LOOKUP_PARENT to it, so
flags argument can die; renamed to kern_path_parent()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro
2011-02-16 15:15:47 -05:00
parent 15a9155fe3
commit c9c6cac0c2
6 changed files with 8 additions and 9 deletions

View File

@@ -359,7 +359,7 @@ static int audit_get_nd(struct audit_watch *watch, struct path *parent)
struct dentry *d;
int err;
err = path_lookup(watch->path, LOOKUP_PARENT, &nd);
err = kern_path_parent(watch->path, &nd);
if (err)
return err;