]> git.karo-electronics.de Git - karo-tx-linux.git/commit
oprofile, ARM: Release resources on failure
authorRobert Richter <robert.richter@amd.com>
Wed, 29 Sep 2010 14:52:25 +0000 (16:52 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 29 Oct 2010 04:51:11 +0000 (21:51 -0700)
commit1b6740a13ca9774810edacafc5e12514092651e2
tree8065a96274a70d11f594a24831d863535991b666
parentb3d8659df019031a5829528b991e1e90d6139207
oprofile, ARM: Release resources on failure

commit 98d943b02f6f1b57787ff1aa6f34d019a407e3ee upstream.

This patch fixes a resource leak on failure, where the
oprofilefs and some counters may not released properly.

Signed-off-by: Robert Richter <robert.richter@amd.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Cc: linux-arm-kernel@lists.infradead.org
LKML-Reference: <20100929145225.GJ13563@erda.amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/arm/oprofile/common.c