]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kmemleak: Report previously found leaks even after an error
authorCatalin Marinas <catalin.marinas@arm.com>
Thu, 29 Sep 2011 10:50:07 +0000 (11:50 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 5 Oct 2011 16:53:24 +0000 (17:53 +0100)
commitf5740be4645a582b7d04289430b724fc6880d77c
tree3a568cc8b0e53560e95e564cc41f583869f38792
parentc13c1bdcbb956c6adfc78edc96acdf8261fe010f
kmemleak: Report previously found leaks even after an error

If an error fatal to kmemleak (like memory allocation failure) happens,
kmemleak disables itself but it also removes the access to any
previously found memory leaks. This patch allows read-only access to the
kmemleak debugfs interface but disables any other action.

Reported-by: Nick Bowler <nbowler@elliptictech.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
mm/kmemleak.c