summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorMike Marshall <hubcap@omnibond.com>2018-01-25 14:43:28 -0500
committerMike Marshall <hubcap@omnibond.com>2018-02-06 16:38:12 -0500
commitcf546ab6b189ab8b3acb26bbc2f0af4df21f16c7 (patch)
treec2adb4324042ad60aa1d52efcdcf01190f522cea /kernel
parent6bdfb48dae8e1b98735bf9387557298d17510be9 (diff)
downloadlinux-cf546ab6b189ab8b3acb26bbc2f0af4df21f16c7.tar.bz2
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 <hubcap@omnibond.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions