test_urcu_lfq: test for the proper pointer
authorLai Jiangshan <laijs@cn.fujitsu.com>
Sat, 13 Oct 2012 16:46:45 +0000 (12:46 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 13 Oct 2012 16:46:45 +0000 (12:46 -0400)
commit747b5930591527b65ad737ba609a59106ec2e89b
tree7fe50fbb18f67b60dfe4e6a8c1f2e281d2e559d9
parent07c6adebacc36efe566e26ae671be237dd20feec
test_urcu_lfq: test for the proper pointer

We should use "if (qnode)" instead of "if (node)" in case of
the struct cds_lfq_node_rcu is not the first field of struct node.

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
tests/test_urcu_lfq.c
This page took 0.024699 seconds and 4 git commands to generate.