diff options
author | 2008-09-19 18:47:19 -0400 | |
---|---|---|
committer | 2008-10-13 09:28:57 -0400 | |
commit | bd623e79fb6bca7ab685bb1f7376476a81ce10bb (patch) | |
tree | 3992dbec095b5034725eb4b0397c4ea9249487b6 /drivers/scsi/sd_dif.c | |
parent | [SCSI] scsi_error: fix target reset handling (diff) | |
download | linux-dev-bd623e79fb6bca7ab685bb1f7376476a81ce10bb.tar.xz linux-dev-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