The patch titled Subject: mm/kmemleak.c: change error at _write when kmemleak is disabled has been removed from the -mm tree. Its filename was mm-kmemleak-change-error-at-_write-when-kmemleak-is-disabled.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: André Almeida <andrealmeid@xxxxxxxxxxxxx> Subject: mm/kmemleak.c: change error at _write when kmemleak is disabled 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. Link: http://lkml.kernel.org/r/20190612155231.19448-1-andrealmeid@xxxxxxxxxxxxx Signed-off-by: André Almeida <andrealmeid@xxxxxxxxxxxxx> Reviewed-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Acked-by: Catalin Marinas <catalin.marinas@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/kmemleak.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/mm/kmemleak.c~mm-kmemleak-change-error-at-_write-when-kmemleak-is-disabled +++ a/mm/kmemleak.c @@ -1866,7 +1866,7 @@ static ssize_t kmemleak_write(struct fil } if (!kmemleak_enabled) { - ret = -EBUSY; + ret = -EPERM; goto out; } _ Patches currently in -mm which might be from andrealmeid@xxxxxxxxxxxxx are