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

Jérémie Galarneau jeremie.galarneau at efficios.com
Wed Sep 9 06:29:10 EDT 2015


Merged in master and stable-2.7, thanks!

Jeremie

On Tue, Sep 8, 2015 at 6:32 PM, Jonathan Rajotte
<jonathan.rajotte-julien at efficios.com> wrote:
> 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
>



-- 
Jérémie Galarneau
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list