diff options
author | Jan Kara <[email protected]> | 2014-12-10 15:52:22 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2014-12-10 17:41:13 -0800 |
commit | a682e9c28cac152e6e54c39efcf046e0c8cfcf63 (patch) | |
tree | aa6318f6b1ae5ae43471d6dbb47b5982d7ecd758 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 6ef4536e2f19c4dba3637413d73ea00b19764bc0 (diff) |
ncpfs: return proper error from NCP_IOC_SETROOT ioctl
If some error happens in NCP_IOC_SETROOT ioctl, the appropriate error
return value is then (in most cases) just overwritten before we return.
This can result in reporting success to userspace although error happened.
This bug was introduced by commit 2e54eb96e2c8 ("BKL: Remove BKL from
ncpfs"). Propagate the errors correctly.
Coverity id: 1226925.
Fixes: 2e54eb96e2c80 ("BKL: Remove BKL from ncpfs")
Signed-off-by: Jan Kara <[email protected]>
Cc: Petr Vandrovec <[email protected]>
Cc: <[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