Remove unneeded RCU lock
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 27 Aug 2015 21:30:21 +0000 (17:30 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 1 Sep 2015 16:03:08 +0000 (12:03 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/agent.c

index e68b680c2b866cdea2e11a9d537449ad6ff40567..7aaefdff28db06d6102a79476f3af05d33c64d57 100644 (file)
@@ -716,10 +716,7 @@ void agent_add_app(struct agent_app *app)
        assert(app);
 
        DBG3("Agent adding app sock: %d and pid: %d to ht", app->sock->fd, app->pid);
-
-       rcu_read_lock();
        lttng_ht_add_unique_ulong(agent_apps_ht_by_sock, &app->node);
-       rcu_read_unlock();
 }
 
 /*
This page took 0.025693 seconds and 4 git commands to generate.