]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
tracing/core: fix missing mutex unlock on tracing_set_tracer()
authorFrederic Weisbecker <fweisbec@gmail.com>
Sun, 15 Mar 2009 21:10:39 +0000 (22:10 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 16 Mar 2009 08:13:17 +0000 (09:13 +0100)
commit59f586db98919d7d9c43527b26c8de1cdf9ed912
treed77ae20815666a1c94dc177af974f88b8102fd38
parent0ea1c4156bf9e2eb370cc5c6fa6eb112bd844dec
tracing/core: fix missing mutex unlock on tracing_set_tracer()

Impact: fix possible locking imbalance

In case of ring buffer resize failure, tracing_set_tracer forgot to
release trace_types_lock. Fix it.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <1237151439-6755-5-git-send-email-fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace.c