radix-tree: move rcu_head into a union with private_list
[muen/linux.git] / lib / radix-tree.c
index 60c10361cbfaaf8b95565e378c57502582a4eecc..8c5911eae5e228417b05e4e880d22145babc2985 100644 (file)
@@ -325,6 +325,7 @@ static void radix_tree_node_rcu_free(struct rcu_head *head)
                tag_clear(node, i, 0);
 
        node->slots[0] = NULL;
+       INIT_LIST_HEAD(&node->private_list);
 
        kmem_cache_free(radix_tree_node_cachep, node);
 }