From: Li Zefan Date: Thu, 7 May 2009 07:11:15 +0000 (+0800) Subject: tracing/events: fix concurrent access to ftrace_events list, fix X-Git-Tag: v2.6.31-rc1~401^2~64 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d94fc523f3c35bd8013f04827e94756cbc0212f4;p=pandora-kernel.git tracing/events: fix concurrent access to ftrace_events list, fix In filter_add_subsystem_pred() we should release event_mutex before calling filter_free_subsystem_preds(), since both functions hold event_mutex. [ Impact: fix deadlock when writing invalid pred into subsystem filter ] Signed-off-by: Li Zefan Cc: tzanussi@gmail.com Cc: a.p.zijlstra@chello.nl Cc: fweisbec@gmail.com Cc: rostedt@goodmis.org LKML-Reference: <4A028993.7020509@cn.fujitsu.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed