trace: introduce missing mutex_unlock()
authorVegard Nossum <vegard.nossum@gmail.com>
Tue, 18 Nov 2008 18:22:13 +0000 (19:22 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 18 Nov 2008 20:37:15 +0000 (21:37 +0100)
commit641d2f63cfe24539e154efa2f932937934c27dde
treefdd8dce64b14efecffb062480ad02bf2e57ac041
parent5177dc3f2b3220b2dcfcf35eb9e6ec53ee818231
trace: introduce missing mutex_unlock()

Impact: fix tracing buffer mutex leak in case of allocation failure

This error was spotted by this semantic patch:

  http://www.emn.fr/x-info/coccinelle/mut.html

It looks correct as far as I can tell. Please review.

Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/ring_buffer.c