diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-02-16 23:15:47 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-03-14 16:15:23 +0300 |
commit | c9c6cac0c2bdbda42e7b804838648d0bc60ddb13 (patch) | |
tree | c2d9b41eb24026d6769175e9ba3c17c8093b6aad /kernel/audit_watch.c | |
parent | 15a9155fe3e8215c02b80df51ec2cac7c0d726ad (diff) | |
download | linux-c9c6cac0c2bdbda42e7b804838648d0bc60ddb13.tar.xz |
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>
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 20b9fe6907d0..e683869365d9 100644 --- a/kernel/audit_watch.c +++ b/kernel/audit_watch.c @@ -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; |