commit | f9ba7af8105f792d2204742810f9647aa32699cd | [log] [tgz] |
---|---|---|
author | Martin Wilck <mwilck@suse.com> | Tue Jan 30 00:35:52 2018 +0100 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Tue Feb 13 21:49:19 2018 -0500 |
tree | f7b84d3e2b9da629b35b8ecddd21ae88526475d1 | |
parent | 80c49563e2506731372c04eec6f8c853d8b0151f [diff] |
scsi: scsi_debug: reset injection flags for every_nth > 0 If every_nth > 0, the injection flags must be reset for commands that aren't supposed to fail (i.e. that aren't "nth"). Otherwise, commands will continue to fail, like in the every_nth < 0 case. Signed-off-by: Martin Wilck <mwilck@suse.com> Acked-by: Douglas Gilbert <dgilbert@interlog.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>