tracing/ftrace: add missing unlock in register_stat_tracer()
authorLi Zefan <lizf@cn.fujitsu.com>
Thu, 15 Jan 2009 01:30:52 +0000 (09:30 +0800)
committerIngo Molnar <mingo@elte.hu>
Thu, 15 Jan 2009 10:28:32 +0000 (11:28 +0100)
commit42fab4b2cdc02cf28e2474ccfd75bc9225076590
tree22a620e154b2d73df89747a2d0b3bf6efc2f064b
parent4a2b8dda3f8705880ec7408135645602d5590f51
tracing/ftrace: add missing unlock in register_stat_tracer()

We should unlock all_stat_sessions_mutex before returning failure.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace_stat.c