summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/tomoyo/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/tomoyo/util.c b/security/tomoyo/util.c
index 150167d0cc3..9bfc1ee8222 100644
--- a/security/tomoyo/util.c
+++ b/security/tomoyo/util.c
@@ -911,7 +911,7 @@ bool tomoyo_domain_quota_is_ok(struct tomoyo_request_info *r)
if (!domain)
return true;
list_for_each_entry_rcu(ptr, &domain->acl_info_list, list) {
- if (!ptr->is_deleted)
+ if (ptr->is_deleted)
continue;
switch (ptr->type) {
u16 perm;