Files
Linux/lib
Akinobu Mita 9eeb52ae71 fault-inject: fix wrong should_fail() decision in task context
Commit 1203c8e6fb ("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: 1203c8e6fb ("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]>
2017-08-10 15:54:06 -07:00
..
2017-02-24 17:46:57 -08:00
…
…
…
…
…
…
…
2017-03-30 09:37:20 +02:00
…
…
…
2017-06-09 11:52:07 +02:00
…
…
…
2017-02-24 17:46:57 -08:00
…
…
…
…
…
…
…
2017-02-24 17:46:57 -08:00
…
2017-02-13 21:44:10 -05:00
…
…
…
…
…
…
…
…
2016-12-06 10:17:03 +02:00
2017-02-24 17:46:57 -08:00
…
…
2017-05-15 23:40:22 -04:00
…
…
…
2016-08-02 17:31:41 -04:00
…