projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'fixes-3.10-1' of git://git.infradead.org/users/jcooper/linux into fixes
[firefly-linux-kernel-4.4.55.git]
/
fs
/
namei.c
diff --git
a/fs/namei.c
b/fs/namei.c
index 57ae9c8c66bfc6d98ae96643874710cdc3de321a..85e40d1c0a8fd64b358447ee09b26f906102ee1d 100644
(file)
--- a/
fs/namei.c
+++ b/
fs/namei.c
@@
-2740,7
+2740,7
@@
static int do_last(struct nameidata *nd, struct path *path,
if (error)
return error;
- audit_inode(name, dir,
0
);
+ audit_inode(name, dir,
LOOKUP_PARENT
);
error = -EISDIR;
/* trailing slashes? */
if (nd->last.name[nd->last.len])