diff options
Diffstat (limited to 'fs/ext3/acl.c')
-rw-r--r-- | fs/ext3/acl.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/ext3/acl.c b/fs/ext3/acl.c index edfeb293d4cb..5326038e8536 100644 --- a/fs/ext3/acl.c +++ b/fs/ext3/acl.c | |||
@@ -244,12 +244,6 @@ ext3_check_acl(struct inode *inode, int mask) | |||
244 | { | 244 | { |
245 | struct posix_acl *acl; | 245 | struct posix_acl *acl; |
246 | 246 | ||
247 | if (mask & MAY_NOT_BLOCK) { | ||
248 | if (!negative_cached_acl(inode, ACL_TYPE_ACCESS)) | ||
249 | return -ECHILD; | ||
250 | return -EAGAIN; | ||
251 | } | ||
252 | |||
253 | acl = ext3_get_acl(inode, ACL_TYPE_ACCESS); | 247 | acl = ext3_get_acl(inode, ACL_TYPE_ACCESS); |
254 | if (IS_ERR(acl)) | 248 | if (IS_ERR(acl)) |
255 | return PTR_ERR(acl); | 249 | return PTR_ERR(acl); |