diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/namei.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/namei.c b/fs/namei.c index 43a97ee1d4c8..498ede374dc0 100644 --- a/fs/namei.c +++ b/fs/namei.c | |||
@@ -2751,7 +2751,7 @@ static int do_last(struct nameidata *nd, struct path *path, | |||
2751 | if (error) | 2751 | if (error) |
2752 | return error; | 2752 | return error; |
2753 | 2753 | ||
2754 | audit_inode(name, dir, 0); | 2754 | audit_inode(name, dir, LOOKUP_PARENT); |
2755 | error = -EISDIR; | 2755 | error = -EISDIR; |
2756 | /* trailing slashes? */ | 2756 | /* trailing slashes? */ |
2757 | if (nd->last.name[nd->last.len]) | 2757 | if (nd->last.name[nd->last.len]) |