From: Mathieu Desnoyers Date: Thu, 13 Jun 2013 16:45:20 +0000 (-0400) Subject: rcuja: add missing rcu_dereference X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=7dcebfc5ba643fcb296745f3cf7f279305dd3aef;p=userspace-rcu.git rcuja: add missing rcu_dereference Signed-off-by: Mathieu Desnoyers --- diff --git a/rcuja/rcuja.c b/rcuja/rcuja.c index 3a67ef6..9398a22 100644 --- a/rcuja/rcuja.c +++ b/rcuja/rcuja.c @@ -417,7 +417,7 @@ struct cds_ja_inode_flag *ja_linear_node_get_direction(const struct cds_ja_type assert(match_v >= 0 && match_v < JA_ENTRY_PER_NODE); *result_key = (uint8_t) match_v; - return match_ptr; + return rcu_dereference(match_ptr); } static