TOMOYO: Fix quota check.
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Tue, 27 Jul 2010 01:08:29 +0000 (10:08 +0900)
committerJames Morris <jmorris@namei.org>
Mon, 2 Aug 2010 05:35:09 +0000 (15:35 +1000)
commit7e3d199a4009a4094a955282daf5ecd43f2c8152
treeea65ba1835bc1465ab07d94e0f8c7e9a2e060b5f
parentb424485abe2b16580a178b469917a7b6ee0c152a
TOMOYO: Fix quota check.

Commit d74725b9 "TOMOYO: Use callback for updating entries." broke
tomoyo_domain_quota_is_ok() by counting deleted entries. It needs to
count non-deleted entries.

Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: James Morris <jmorris@namei.org>
security/tomoyo/util.c