From: Peter Zijlstra Date: Sat, 23 May 2009 16:28:56 +0000 (+0200) Subject: perf_counter: Sanitize counter->mutex X-Git-Tag: v2.6.31-rc1~383^2~243 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fccc714b3148ab9741fafc1e90c3876d50df6093;p=pandora-kernel.git perf_counter: Sanitize counter->mutex s/counter->mutex/counter->child_mutex/ and make sure its only used to protect child_list. The usage in __perf_counter_exit_task() doesn't appear to be problematic since ctx->mutex also covers anything related to fd tear-down. Signed-off-by: Peter Zijlstra Cc: Paul Mackerras Cc: Corey Ashford Cc: Arnaldo Carvalho de Melo Cc: John Kacur LKML-Reference: <20090523163012.533186528@chello.nl> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed