Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 177406
b: refs/heads/master
c: 85a17f5
h: refs/heads/master
v: v3
  • Loading branch information
Eric Paris authored and Al Viro committed Dec 16, 2009
1 parent 88f7286 commit 5c56d0c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e0d5bd2aec4e69e720ee86958503923cafb45be5
refs/heads/master: 85a17f552dfe77efb44b971615e4f221a5f28f37
1 change: 0 additions & 1 deletion trunk/security/integrity/ima/ima.h
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ void ima_template_show(struct seq_file *m, void *e,
*/
struct ima_iint_cache *ima_iint_insert(struct inode *inode);
struct ima_iint_cache *ima_iint_find_get(struct inode *inode);
void ima_iint_delete(struct inode *inode);
void iint_free(struct kref *kref);
void iint_rcu_free(struct rcu_head *rcu);

Expand Down
6 changes: 2 additions & 4 deletions trunk/security/integrity/ima/ima_iint.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
#include <linux/radix-tree.h>
#include "ima.h"

#define ima_iint_delete ima_inode_free

RADIX_TREE(ima_iint_store, GFP_ATOMIC);
DEFINE_SPINLOCK(ima_iint_lock);

Expand Down Expand Up @@ -111,12 +109,12 @@ void iint_rcu_free(struct rcu_head *rcu_head)
}

/**
* ima_iint_delete - called on integrity_inode_free
* ima_inode_free - called on security_inode_free
* @inode: pointer to the inode
*
* Free the integrity information(iint) associated with an inode.
*/
void ima_iint_delete(struct inode *inode)
void ima_inode_free(struct inode *inode)
{
struct ima_iint_cache *iint;

Expand Down

0 comments on commit 5c56d0c

Please sign in to comment.