From: Jonathan Rajotte Date: Tue, 8 Sep 2015 22:32:12 +0000 (-0400) Subject: Fix: double RCU unlock on event_agent_disable_all X-Git-Tag: v2.7.0-rc2~40 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=d8bac122ff7b4e03b111589cf6a3b31e713dc189;p=lttng-tools.git Fix: double RCU unlock on event_agent_disable_all Signed-off-by: Jonathan Rajotte Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-sessiond/event.c b/src/bin/lttng-sessiond/event.c index f63364a85..fdec4a9dd 100644 --- a/src/bin/lttng-sessiond/event.c +++ b/src/bin/lttng-sessiond/event.c @@ -654,8 +654,6 @@ int event_agent_disable_all(struct ltt_ust_session *usess, goto error_unlock; } } - rcu_read_unlock(); - ret = LTTNG_OK; error_unlock: