From 88d9d15aeb58b8cc6d45a61e388991c4491d556f 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 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 */ -- 2.34.1