Re: [PATCH 3/6] scsi_debug: fix duplicate dif_errors increment

2014-01-10 Thread Martin K. Petersen
Akinobu == Akinobu Mita akinobu.m...@gmail.com writes: Akinobu It is unnecessary to increase dif_errors in dif_verify(), Akinobu because the caller will increment it when dif_verify() detects Akinobu failure. Akinobu This bug was introduced by commit beb40ea42bd6 ([SCSI] Akinobu scsi_debug:

[PATCH 3/6] scsi_debug: fix duplicate dif_errors increment

2014-01-05 Thread Akinobu Mita
It is unnecessary to increase dif_errors in dif_verify(), because the caller will increment it when dif_verify() detects failure. This bug was introduced by commit beb40ea42bd6 ([SCSI] scsi_debug: reduce duplication between prot_verify_read and prot_verify_write) Signed-off-by: Akinobu Mita