test_urcu_lfs: test for the proper pointer
authorLai Jiangshan <laijs@cn.fujitsu.com>
Sat, 13 Oct 2012 16:41:17 +0000 (12:41 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 13 Oct 2012 16:41:17 +0000 (12:41 -0400)
commitf3eb6ef162778c396fcffefda3f3379fce5cab17
treea5712faee1325c1acfcfb1671d81089ff9f2cd8f
parent1fe734e1914993dfa395e2b81e5c9ee0115cc56c
test_urcu_lfs: test for the proper pointer

We should use "if (snode)" instead of "if (node)" in case of
the struct cds_lfs_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_lfs.c
This page took 0.02546 seconds and 4 git commands to generate.