summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sd_dif.c
diff options
context:
space:
mode:
authorMartin K. Petersen <martin.petersen@oracle.com>2008-09-19 18:47:19 -0400
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-10-13 09:28:57 -0400
commitbd623e79fb6bca7ab685bb1f7376476a81ce10bb (patch)
tree3992dbec095b5034725eb4b0397c4ea9249487b6 /drivers/scsi/sd_dif.c
parentc82dc88ddaf17112841dd3a6b08352968555ee08 (diff)
downloadop-kernel-dev-bd623e79fb6bca7ab685bb1f7376476a81ce10bb.zip
op-kernel-dev-bd623e79fb6bca7ab685bb1f7376476a81ce10bb.tar.gz
[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
OpenPOWER on IntegriCloud