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.6.1~7 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=88d9d15aeb58b8cc6d45a61e388991c4491d556f;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 eed346d06..b593a2ae4 100644 --- a/src/common/consumer.c +++ b/src/common/consumer.c @@ -2333,7 +2333,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 */