summaryrefslogtreecommitdiff
path: root/security/tomoyo
diff options
context:
space:
mode:
Diffstat (limited to 'security/tomoyo')
-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 150167d0cc3a..9bfc1ee8222d 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;