[lttng-dev] [PATCH lttng-tools] Fix: double RCU unlock on event_agent_disable_all

Jonathan Rajotte jonathan.rajotte-julien at efficios.com
Tue Sep 8 18:32:12 EDT 2015


Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien at efficios.com>
---
 src/bin/lttng-sessiond/event.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/bin/lttng-sessiond/event.c b/src/bin/lttng-sessiond/event.c
index dacd56d..8cca213 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:
-- 
2.1.4




More information about the lttng-dev mailing list