Re: [PATCH v2 1/2] mm: kmemleak: change error at _write when kmemleak is disabled

From: Catalin Marinas
Date: Thu Jun 13 2019 - 11:28:41 EST


On Wed, Jun 12, 2019 at 12:52:30PM -0300, André Almeida wrote:
> According to POSIX, EBUSY means that the "device or resource is busy",
> and this can lead to people thinking that the file
> `/sys/kernel/debug/kmemleak/` is somehow locked or being used by other
> process. Change this error code to a more appropriate one.
>
> Signed-off-by: André Almeida <andrealmeid@xxxxxxxxxxxxx>

Acked-by: Catalin Marinas <catalin.marinas@xxxxxxx>