kmemleak: Do not report new leaked objects if the scanning was stopped
authorCatalin Marinas <catalin.marinas@arm.com>
Mon, 29 Jun 2009 16:13:56 +0000 (17:13 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 29 Jun 2009 16:14:13 +0000 (17:14 +0100)
commit17bb9e0d906b625f86e9d31740bb1c35bc0f63d7
tree2a92b042b2e48be48bbe126ea62ee098fcebc0ee
parentacf4968ec9dea49387ca8b3d36dfaa0850bdb2d5
kmemleak: Do not report new leaked objects if the scanning was stopped

If the scanning was stopped with a signal, it is possible that some
objects are left with a white colour (potential leaks) and reported. Add
a check to avoid reporting such objects.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
mm/kmemleak.c