diff options
author | Mimi Zohar <zohar@linux.vnet.ibm.com> | 2010-11-02 10:14:22 -0400 |
---|---|---|
committer | Mimi Zohar <zohar@linux.vnet.ibm.com> | 2011-02-10 07:51:44 -0500 |
commit | 854fdd55bfdd56cfc61bd30f2062a9268fcebba6 (patch) | |
tree | 139af793bf7395002e6e68978b603d47f28f7dc2 /security/integrity/ima/ima_iint.c | |
parent | 890275b5eb79e9933d12290473eab9ac38da0051 (diff) | |
download | op-kernel-dev-854fdd55bfdd56cfc61bd30f2062a9268fcebba6.zip op-kernel-dev-854fdd55bfdd56cfc61bd30f2062a9268fcebba6.tar.gz |
IMA: remove IMA imbalance checking
Now that i_readcount is maintained by the VFS layer, remove the
imbalance checking in IMA. Cleans up the IMA code nicely.
Signed-off-by: Mimi Zohar <zohar@us.ibm.com>
Acked-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'security/integrity/ima/ima_iint.c')
-rw-r--r-- | security/integrity/ima/ima_iint.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/security/integrity/ima/ima_iint.c b/security/integrity/ima/ima_iint.c index 68efe3b..4ae7304 100644 --- a/security/integrity/ima/ima_iint.c +++ b/security/integrity/ima/ima_iint.c @@ -137,10 +137,6 @@ void ima_inode_free(struct inode *inode) { struct ima_iint_cache *iint; - if (atomic_read(&inode->i_readcount)) - printk(KERN_INFO "%s: readcount: %u\n", __func__, - atomic_read(&inode->i_readcount)); - if (!IS_IMA(inode)) return; |