diff options
author | Martin K. Petersen <martin.petersen@oracle.com> | 2008-09-19 18:47:19 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-10-13 09:28:57 -0400 |
commit | bd623e79fb6bca7ab685bb1f7376476a81ce10bb (patch) | |
tree | 3992dbec095b5034725eb4b0397c4ea9249487b6 /drivers/scsi/sd_dif.c | |
parent | c82dc88ddaf17112841dd3a6b08352968555ee08 (diff) | |
download | linux-bd623e79fb6bca7ab685bb1f7376476a81ce10bb.tar.gz linux-bd623e79fb6bca7ab685bb1f7376476a81ce10bb.tar.bz2 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