Commit [98d943] Maximize Restore History

oprofile, ARM: Release resources on failure

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
Cc: <stable@kernel.org> # .35.x
LKML-Reference: <20100929145225.GJ13563@erda.amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

Robert Richter Robert Richter 2010-09-29

Ingo Molnar Ingo Molnar 2010-09-30

changed arch/arm/oprofile/common.c
arch/arm/oprofile/common.c Diff Switch to side-by-side view
Loading...