diff options
Diffstat (limited to 'security/integrity/ima/ima_iint.c')
-rw-r--r-- | security/integrity/ima/ima_iint.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/security/integrity/ima/ima_iint.c b/security/integrity/ima/ima_iint.c index f0053552fd58..68efe3b8d993 100644 --- a/security/integrity/ima/ima_iint.c +++ b/security/integrity/ima/ima_iint.c | |||
@@ -141,8 +141,6 @@ void ima_inode_free(struct inode *inode) | |||
141 | printk(KERN_INFO "%s: readcount: %u\n", __func__, | 141 | printk(KERN_INFO "%s: readcount: %u\n", __func__, |
142 | atomic_read(&inode->i_readcount)); | 142 | atomic_read(&inode->i_readcount)); |
143 | 143 | ||
144 | atomic_set(&inode->i_readcount, 0); | ||
145 | |||
146 | if (!IS_IMA(inode)) | 144 | if (!IS_IMA(inode)) |
147 | return; | 145 | return; |
148 | 146 | ||