Re: [PATCH] fault-inject: fix wrong should_fail() decision in task context

2017-08-01 Thread Lu Fengqi
On Wed, Aug 02, 2017 at 09:28:20AM +0900, Akinobu Mita wrote: >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 injecti

[PATCH] fault-inject: fix wrong should_fail() decision in task context

2017-08-01 Thread Akinobu Mita
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 beha