From: Ingo Molnar Date: Thu, 15 Oct 2009 10:24:04 +0000 (+0200) Subject: tracing/events: Fix locking imbalance in the filter code X-Git-Tag: v2.6.33-rc1~399^2~187^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a66abe7fbf7805a1a02f241bd5283265ff6706ec;p=pandora-kernel.git tracing/events: Fix locking imbalance in the filter code Américo Wang noticed that we have a locking imbalance in the error paths of ftrace_profile_set_filter(), causing potential leakage of event_mutex. Also clean up other error codepaths related to event_mutex while at it. Plus fix an initialized variable in the subsystem filter code. Reported-by: Américo Wang Cc: Li Zefan Cc: Peter Zijlstra Cc: Frederic Weisbecker Cc: Steven Rostedt Cc: Tom Zanussi LKML-Reference: <2375c9f90910150247u5ccb8e2at58c764e385ffa490@mail.gmail.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed