projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] Streamline generic_file_* interfaces and filemap cleanups
[powerpc.git]
/
fs
/
fuse
/
dir.c
diff --git
a/fs/fuse/dir.c
b/fs/fuse/dir.c
index
409ce6a
..
f85b2a2
100644
(file)
--- a/
fs/fuse/dir.c
+++ b/
fs/fuse/dir.c
@@
-776,7
+776,7
@@
static int fuse_permission(struct inode *inode, int mask, struct nameidata *nd)
if ((mask & MAY_EXEC) && !S_ISDIR(mode) && !(mode & S_IXUGO))
return -EACCES;
- if (nd && (nd->flags &
LOOKUP_ACCESS
))
+ if (nd && (nd->flags &
(LOOKUP_ACCESS | LOOKUP_CHDIR)
))
return fuse_access(inode, mask);
return 0;
}