summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/cpu/perf_counter.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-09-03 16:03:00 (GMT)
committerIngo Molnar <mingo@elte.hu>2009-09-03 16:46:23 (GMT)
commitdc86cabe4b242446ea9aa8492c727e1220817898 (patch)
treeeace3c21e20231d6f6359a223941efa419a82ea4 /arch/x86/kernel/cpu/perf_counter.c
parent6f4596d9312ba5fbf5f3231ef484823c4e684d2e (diff)
downloadlinux-fsl-qoriq-dc86cabe4b242446ea9aa8492c727e1220817898.tar.xz
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 <a.p.zijlstra@chello.nl> Cc: Mike Galbraith <efault@gmx.de> Cc: Paul Mackerras <paulus@samba.org> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/cpu/perf_counter.c')
0 files changed, 0 insertions, 0 deletions