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

index c8628e8767ba1c6ee263f0f0d44f2b4fc6160748..0299d5e952cfd5c946ef91916103e8f261b02623 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.035352 seconds and 4 git commands to generate.