diff options
Diffstat (limited to 'fs/jffs2')
-rw-r--r-- | fs/jffs2/acl.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/jffs2/acl.c b/fs/jffs2/acl.c index f9c302430aa1..4933a8f8ecc9 100644 --- a/fs/jffs2/acl.c +++ b/fs/jffs2/acl.c | |||
@@ -264,9 +264,6 @@ int jffs2_check_acl(struct inode *inode, int mask) | |||
264 | struct posix_acl *acl; | 264 | struct posix_acl *acl; |
265 | int rc; | 265 | int rc; |
266 | 266 | ||
267 | if (mask & MAY_NOT_BLOCK) | ||
268 | return -ECHILD; | ||
269 | |||
270 | acl = jffs2_get_acl(inode, ACL_TYPE_ACCESS); | 267 | acl = jffs2_get_acl(inode, ACL_TYPE_ACCESS); |
271 | if (IS_ERR(acl)) | 268 | if (IS_ERR(acl)) |
272 | return PTR_ERR(acl); | 269 | return PTR_ERR(acl); |