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
vfs: move ACL cache lookup into generic code
[pandora-kernel.git]
/
fs
/
gfs2
/
acl.c
diff --git
a/fs/gfs2/acl.c
b/fs/gfs2/acl.c
index
8ef1079
..
48171f4
100644
(file)
--- a/
fs/gfs2/acl.c
+++ b/
fs/gfs2/acl.c
@@
-80,12
+80,6
@@
int gfs2_check_acl(struct inode *inode, int mask)
struct posix_acl *acl;
int error;
- if (mask & MAY_NOT_BLOCK) {
- if (!negative_cached_acl(inode, ACL_TYPE_ACCESS))
- return -ECHILD;
- return -EAGAIN;
- }
-
acl = gfs2_acl_get(GFS2_I(inode), ACL_TYPE_ACCESS);
if (IS_ERR(acl))
return PTR_ERR(acl);