rcuja: add missing rcu_dereference
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 13 Jun 2013 16:45:20 +0000 (12:45 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 13 Jun 2013 16:45:20 +0000 (12:45 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
rcuja/rcuja.c

index 3a67ef67497f9d3bc2902d9d1097d73d857ff5c5..9398a222bcd526fc4d3dcd1f86e851a02a17ced4 100644 (file)
@@ -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
This page took 0.027049 seconds and 4 git commands to generate.