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.8.0-rc1~362 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=fb27f84c28e9d8ec7c8ce5ac1b541b0671a4569e;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 dacd56d33..8cca21391 100644 --- a/src/bin/lttng-sessiond/event.c +++ b/src/bin/lttng-sessiond/event.c @@ -647,8 +647,6 @@ int event_agent_disable_all(struct ltt_ust_session *usess, goto error_unlock; } } - rcu_read_unlock(); - ret = LTTNG_OK; error_unlock: