mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
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:
parent
15a9155fe3
commit
c9c6cac0c2
6 changed files with 8 additions and 9 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue