diff options
| author | Dan Carpenter <[email protected]> | 2017-08-26 09:02:55 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-08-28 10:24:06 +0200 |
| commit | 3ca121c2f4be85f3fbf398583bc8c42a145e3533 (patch) | |
| tree | 91fc7e193af4f5b05f1a169e6b2acf4f0efb711f /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | 9c8e28df4457e6734237013adb577dbb265df15d (diff) | |
staging: lustre: obdclass: return -EFAULT if copy_to_user() fails
We recently changed from using obd_ioctl_popdata() to calling
copy_to_user() directly. This if statement was supposed to be deleted
but it was over looked. "err" is zero at this point so it means we
return success.
Fixes: b03679f6a41a ("staging: lustre: uapi: remove obd_ioctl_popdata() wrapper")
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions