From: Jérémie Galarneau Date: Wed, 16 Sep 2015 23:49:56 +0000 (-0400) Subject: Fix: rcu_read_unlock without parentheses has no side-effect X-Git-Tag: v2.7.0-rc2~19 X-Git-Url: https://git.liburcu.org/?a=commitdiff_plain;h=19cee80d057d45be42c82fcf10b720d2917c0381;p=lttng-tools.git Fix: rcu_read_unlock without parentheses has no side-effect Signed-off-by: Jérémie Galarneau --- diff --git a/src/common/consumer.c b/src/common/consumer.c index 2eda944e1..01ecc2446 100644 --- a/src/common/consumer.c +++ b/src/common/consumer.c @@ -2356,7 +2356,7 @@ restart: consumer_del_metadata_stream(stream, metadata_ht); } else { ERR("Unexpected poll events %u for sock %d", revents, pollfd); - rcu_read_unlock; + rcu_read_unlock(); goto end; } /* Release RCU lock for the stream looked up */