aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/netnode.c
diff options
context:
space:
mode:
authorPaul E. McKenney <[email protected]>2010-05-18 19:11:25 +0000
committerJames Morris <[email protected]>2010-08-02 05:33:35 +0000
commitbabcd37821fba57048b30151969d28303f2a8b6b (patch)
treef3a22f93df9d0ccb95bc653c9b56476adab05876 /security/selinux/netnode.c
parentLinux 2.6.35 (diff)
downloadkernel-babcd37821fba57048b30151969d28303f2a8b6b.tar.gz
kernel-babcd37821fba57048b30151969d28303f2a8b6b.zip
selinux: remove all rcu head initializations
Remove all rcu head inits. We don't care about the RCU head state before passing it to call_rcu() anyway. Only leave the "on_stack" variants so debugobjects can keep track of objects on stack. Signed-off-by: Mathieu Desnoyers <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]> Cc: Stephen Smalley <[email protected]> Reviewed-by: James Morris <[email protected]> Cc: Eric Paris <[email protected]> Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'security/selinux/netnode.c')
-rw-r--r--security/selinux/netnode.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/security/selinux/netnode.c b/security/selinux/netnode.c
index dc92792271f1..65ebfe954f85 100644
--- a/security/selinux/netnode.c
+++ b/security/selinux/netnode.c
@@ -183,8 +183,6 @@ static void sel_netnode_insert(struct sel_netnode *node)
BUG();
}
- INIT_RCU_HEAD(&node->rcu);
-
/* we need to impose a limit on the growth of the hash table so check
* this bucket to make sure it is within the specified bounds */
list_add_rcu(&node->list, &sel_netnode_hash[idx].list);