diff options
| author | André Almeida <[email protected]> | 2019-07-11 20:53:43 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2019-07-12 11:05:42 -0700 |
| commit | 4e4dfce2278929de4379cdcfa2335dad7a6c4aa0 (patch) | |
| tree | f38ab4af723210c0590d7571d53176811eed0a21 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 6ef9056952532c3b746de46aa10d45b4d7797bd8 (diff) | |
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/[email protected]
Signed-off-by: André Almeida <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Acked-by: Catalin Marinas <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions