diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2014-02-26 14:56:58 +0100 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2014-03-19 19:30:20 +0100 |
commit | c45eabec08776d462c34802d3e5bad295bda628e (patch) | |
tree | 61e57fe067407f86f23c4a9fca6abe9a2b605897 /drivers/scsi/libsrp.c | |
parent | [SCSI] remove a useless get/put_device pair in scsi_requeue_command (diff) | |
download | linux-c45eabec08776d462c34802d3e5bad295bda628e.tar.xz linux-c45eabec08776d462c34802d3e5bad295bda628e.zip |
[SCSI] scsi_debug: fix false positive logical block reference tag check fail
Reading partially unwritten sectors generates a false positive logical
block reference tag check failure when DIF is enabled.
This bug is caused by missing ei_lba increment in loop of dif_verify()
when unwritten sector is skipped.
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Acked-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Douglas Gilbert <dgilbert@interlog.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/libsrp.c')
0 files changed, 0 insertions, 0 deletions