aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorJan Kara <[email protected]>2014-12-10 15:52:22 -0800
committerLinus Torvalds <[email protected]>2014-12-10 17:41:13 -0800
commita682e9c28cac152e6e54c39efcf046e0c8cfcf63 (patch)
treeaa6318f6b1ae5ae43471d6dbb47b5982d7ecd758 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent6ef4536e2f19c4dba3637413d73ea00b19764bc0 (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/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions