]> 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>
Tue, 8 Nov 2011 10:32:42 +0000 (10:32 +0000)
commit08612fc14b3819ed6f2e0f33e0a532c82ca8f647
treed954a968b8741553c67fbe347e262f39dddf13d1
parent1fa50b02ffb197cf8e86c534d9526c716108ffa7
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