diff options
author | Steven Rostedt <srostedt@redhat.com> | 2008-05-12 19:20:56 (GMT) |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-05-23 19:15:52 (GMT) |
commit | d15f57f23eaba975309a153b23699cd0c0236974 (patch) | |
tree | 8bff39ab0bae5727e691f88e783a2d5cfec2afb1 /kernel/trace/trace_selftest.c | |
parent | 07a267cdd2fd7d1de9455b1e36a1635ace7276c7 (diff) | |
download | linux-fsl-qoriq-d15f57f23eaba975309a153b23699cd0c0236974.tar.xz |
ftrace: fix mutex unlock in trace output
If the trace output changes on reading the trace files, there is a chance
that the start function will return NULL. If the start function of a sequence
returns NULL the stop equivalent is not called. In this case, all locks
that are taken must be released even if they are released in the stop function.
This patch fixes a case that a mutex was not released on return of NULL
in the start sequence function.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/trace/trace_selftest.c')
0 files changed, 0 insertions, 0 deletions