From: Paolo Bonzini Date: Thu, 9 Jun 2011 14:15:28 +0000 (-0400) Subject: urcu_ref: do error checking on urcu_ref_put X-Git-Tag: v0.6.0~27 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;ds=sidebyside;h=bf27322dfd077203b5f8a58548560158dccd8c60;hp=bf27322dfd077203b5f8a58548560158dccd8c60;p=urcu.git urcu_ref: do error checking on urcu_ref_put Underflow is what you really want to trap. When you reach urcu_ref_get, it is already too late. [Edit: whitespaces -> tab cleanup] Signed-off-by: Paolo Bonzini Signed-off-by: Mathieu Desnoyers ---