git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
->permission() sanitizing: pass MAY_NOT_BLOCK to ->check_acl()
[pandora-kernel.git]
/
fs
/
gfs2
/
acl.c
diff --git
a/fs/gfs2/acl.c
b/fs/gfs2/acl.c
index
cbc0715
..
4d97352
100644
(file)
--- a/
fs/gfs2/acl.c
+++ b/
fs/gfs2/acl.c
@@
-80,7
+80,7
@@
int gfs2_check_acl(struct inode *inode, int mask, unsigned int flags)
struct posix_acl *acl;
int error;
- if (
flags & IPERM_FLAG_RCU
) {
+ if (
mask & MAY_NOT_BLOCK
) {
if (!negative_cached_acl(inode, ACL_TYPE_ACCESS))
return -ECHILD;
return -EAGAIN;