From 6f2f1a70002077ebaa604652f08aae017884dfa7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Wed, 16 Sep 2015 19:49:56 -0400 Subject: [PATCH] Fix: rcu_read_unlock without parentheses has no side-effect MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau --- src/common/consumer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.34.1