linux/fs/orangefs
Mike Marshall cf546ab6b1 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>
2018-02-06 16:38:12 -05:00
..
2018-02-06 16:38:12 -05:00
2015-10-03 11:40:00 -04:00
2018-02-06 16:38:12 -05:00
2017-11-13 15:09:58 -05:00
2018-02-06 16:38:12 -05:00