Fix: rcu_read_unlock without parentheses has no side-effect
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 16 Sep 2015 23:49:56 +0000 (19:49 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 24 Sep 2015 04:35:36 +0000 (00:35 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/consumer.c

index eed346d06253a2e44ec0298ab846b3e386da839f..b593a2ae425d4b7cbb023cca272f2c268e30eeba 100644 (file)
@@ -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 */
This page took 0.02679 seconds and 4 git commands to generate.