X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=rcuja%2Frcuja-shadow-nodes.c;h=917c6a2038e8c11a809fb4acfd5cf69be8d57b02;hb=d8536f92244c14455fb90fdd06cb4628d65acf32;hp=1c6124e3e749e5cc6c72e28a0c584c4f272b811f;hpb=2514605a40babb8d02e05b9533974cc08adcf93c;p=userspace-rcu.git diff --git a/rcuja/rcuja-shadow-nodes.c b/rcuja/rcuja-shadow-nodes.c index 1c6124e..917c6a2 100644 --- a/rcuja/rcuja-shadow-nodes.c +++ b/rcuja/rcuja-shadow-nodes.c @@ -377,7 +377,7 @@ rcu_unlock: __attribute__((visibility("protected"))) void rcuja_shadow_prune(struct cds_lfht *ht, unsigned int flags, - void (*free_node_cb)(struct rcu_head *head)) + void (*rcu_free_node)(struct cds_ja_node *node)) { const struct rcu_flavor_struct *flavor; struct cds_ja_shadow_node *shadow_node; @@ -397,7 +397,7 @@ void rcuja_shadow_prune(struct cds_lfht *ht, if (shadow_node->level == shadow_node->ja->tree_depth - 1) { rcuja_free_all_children(shadow_node, shadow_node->node_flag, - free_node_cb); + rcu_free_node); } if (flags & RCUJA_SHADOW_CLEAR_FREE_LOCK) { flavor->update_call_rcu(&shadow_node->head,