diff options
author | Akinobu Mita <[email protected]> | 2017-08-10 15:23:53 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2017-08-10 15:54:06 -0700 |
commit | 9eeb52ae712e72141c4c1d173048a606ba8f42f6 (patch) | |
tree | bb6ed5065441552c7d799a839e084e6f0dd23b1d /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 4e98ebe5f435fbe5bca91c24bc5d5a2b33025e08 (diff) |
fault-inject: fix wrong should_fail() decision in task context
Commit 1203c8e6fb0a ("fault-inject: simplify access check for fail-nth")
unintentionally broke a conditional statement in should_fail(). Any
faults are not injected in the task context by the change when the
systematic fault injection is not used.
This change restores to the previous correct behaviour.
Link: http://lkml.kernel.org/r/[email protected]
Fixes: 1203c8e6fb0a ("fault-inject: simplify access check for fail-nth")
Signed-off-by: Akinobu Mita <[email protected]>
Reported-by: Lu Fengqi <[email protected]>
Tested-by: Lu Fengqi <[email protected]>
Cc: Dmitry Vyukov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions