diff options
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) | |||
359 | struct dentry *d; | 359 | struct dentry *d; |
360 | int err; | 360 | int err; |
361 | 361 | ||
362 | err = path_lookup(watch->path, LOOKUP_PARENT, &nd); | 362 | err = kern_path_parent(watch->path, &nd); |
363 | if (err) | 363 | if (err) |
364 | return err; | 364 | return err; |
365 | 365 | ||