vfs: move ACL cache lookup into generic code
[pandora-kernel.git] / fs / ocfs2 / acl.c
index f4cf451..aff23e5 100644 (file)
@@ -297,9 +297,6 @@ int ocfs2_check_acl(struct inode *inode, int mask)
        struct posix_acl *acl;
        int ret = -EAGAIN;
 
-       if (mask & MAY_NOT_BLOCK)
-               return -ECHILD;
-
        osb = OCFS2_SB(inode->i_sb);
        if (!(osb->s_mount_opt & OCFS2_MOUNT_POSIX_ACL))
                return ret;