projects
/
linux-2.6-block.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()
[linux-2.6-block.git]
/
fs
/
jfs
/
acl.c
diff --git
a/fs/jfs/acl.c
b/fs/jfs/acl.c
index e5de9422fa325538e5aa3f1ca9e830e9f2b5652e..859ae5a92166a24cb35af408bd97a0742b0ebbda 100644
(file)
--- a/
fs/jfs/acl.c
+++ b/
fs/jfs/acl.c
@@
-118,7
+118,7
@@
int jfs_check_acl(struct inode *inode, int mask, unsigned int flags)
{
struct posix_acl *acl;
- if (
flags & IPERM_FLAG_RCU
)
+ if (
mask & MAY_NOT_BLOCK
)
return -ECHILD;
acl = jfs_get_acl(inode, ACL_TYPE_ACCESS);