Commit babcd378 authored by Paul E. McKenney's avatar Paul E. McKenney Committed by James Morris
Browse files

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: default avatarMathieu Desnoyers <>
Signed-off-by: default avatarPaul E. McKenney <>
Cc: Stephen Smalley <>
Reviewed-by: default avatarJames Morris <>
Cc: Eric Paris <>
Signed-off-by: default avatarJames Morris <>
parent 9fe6206f
......@@ -288,7 +288,6 @@ static struct avc_node *avc_alloc_node(void)
if (!node)
goto out;
......@@ -183,8 +183,6 @@ static void sel_netnode_insert(struct sel_netnode *node)
/* 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);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment