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, 17 Sep 2015 00:55:19 +0000 (20:55 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/consumer.c

index 2eda944e114b12de570895c28fe8eb8dd69b332e..01ecc24462713715b54686de2fbb67d039eb026c 100644 (file)
@@ -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 */
This page took 0.027136 seconds and 4 git commands to generate.