diff options
| author | Mike Marshall <[email protected]> | 2018-01-25 19:43:28 +0000 |
|---|---|---|
| committer | Mike Marshall <[email protected]> | 2018-02-06 21:38:12 +0000 |
| commit | cf546ab6b189ab8b3acb26bbc2f0af4df21f16c7 (patch) | |
| tree | c2adb4324042ad60aa1d52efcdcf01190f522cea /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | orangefs: use correct string length (diff) | |
| download | kernel-cf546ab6b189ab8b3acb26bbc2f0af4df21f16c7.tar.gz kernel-cf546ab6b189ab8b3acb26bbc2f0af4df21f16c7.zip | |
Orangefs: don't propogate whacky error codes
When we get an error return code from userspace (the client-core)
we check to make sure it is a valid code.
This patch maps the whacky return code to -EINVAL instead of
propagating garbage back up the call chain potentially resulting
in a hard-to-find train-wreck.
The client-core doesn't have any business returning whacky return
codes, but if it does, we don't want the kernel to crash as a result.
Signed-off-by: Mike Marshall <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
