rculfhash: merge duplicated code for bucket lookup
authorLai Jiangshan <laijs@cn.fujitsu.com>
Mon, 17 Oct 2011 13:46:10 +0000 (09:46 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 17 Oct 2011 13:46:10 +0000 (09:46 -0400)
commitf4a9cc0b4bc9791e18c66b00023ae4ef76befb74
tree845f62a072b69cf212435606b7ea99f4d9978e87
parent0d14ceb26e0ff3e1d6f86cf3ec9674ee3b16e96f
rculfhash: merge duplicated code for bucket lookup

[ Edit by Mathieu Desnoyers: also remove unnecessary lookups that end up
  returning an already looked up node. Same behavior is guaranteed
  because the hash and size stay invariant across retry. ]

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