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.8.0-rc1~334 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=6f2f1a70002077ebaa604652f08aae017884dfa7;ds=sidebyside 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 c8628e876..0299d5e95 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 */