summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sd_dif.c
diff options
context:
space:
mode:
authorMartin K. Petersen <martin.petersen@oracle.com>2008-09-20 00:47:19 +0200
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-10-13 15:28:57 +0200
commitbd623e79fb6bca7ab685bb1f7376476a81ce10bb (patch)
tree3992dbec095b5034725eb4b0397c4ea9249487b6 /drivers/scsi/sd_dif.c
parent[SCSI] scsi_error: fix target reset handling (diff)
downloadlinux-bd623e79fb6bca7ab685bb1f7376476a81ce10bb.tar.xz
linux-bd623e79fb6bca7ab685bb1f7376476a81ce10bb.zip
[SCSI] sd: Issue correct protection operation
Use the same logic to prepare RD/WRPROTECT and the protection operation. Fixes a corner case where we could issue an unprotected CDB and yet tell the HBA to do DIF to the drive. Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/sd_dif.c')
0 files changed, 0 insertions, 0 deletions