Re: [PATCH] perf/tracing/cpuhotplug: don't release cred_guard_mutex if not taken

From: bigeasy@xxxxxxxxxxxxx
Date: Tue Jun 06 2017 - 05:08:28 EST


On 2017-06-03 03:39:13 [+0000], Levin, Alexander (Sasha Levin) wrote:
> From: Alexander Levin <alexander.levin@xxxxxxxxxxx>
>
> If we failed to acquire task's cred_guard_mutex we shouldn't proceed
> to release it in the error path.
>
> Fixes: a63fbed776c ("perf/tracing/cpuhotplug: Fix locking order")
> Signed-off-by: Alexander Levin <alexander.levin@xxxxxxxxxxx>

Acked-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>

Sebastian