diff options
author | Alexander Levin <[email protected]> | 2017-06-03 03:39:13 +0000 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2017-06-03 09:28:45 +0200 |
commit | e5aeee51f6b4fb22e851105ee6d8ad211c40a214 (patch) | |
tree | ce87eee9d18994da498c862b850b07a14a65d6cd /lib/string_helpers.c | |
parent | 49dfe2a6779717d9c18395684ee31bdc98b22e53 (diff) |
perf/core: Don't release cred_guard_mutex if not taken
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 <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions