From: Ingo Molnar Date: Thu, 3 Sep 2009 16:03:00 +0000 (+0200) Subject: perf_counter: Fix output-sharing error path X-Git-Tag: v2.6.32-rc1~720^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc86cabe4b242446ea9aa8492c727e1220817898;p=pandora-kernel.git perf_counter: Fix output-sharing error path We forget to release the fd in the PERF_FLAG_FD_OUTPUT error path. Reorganize the error flow here to be a clean fall-through logic. Cc: Peter Zijlstra Cc: Mike Galbraith Cc: Paul Mackerras Cc: Arnaldo Carvalho de Melo Cc: Frederic Weisbecker LKML-Reference: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed