commit | bd623e79fb6bca7ab685bb1f7376476a81ce10bb | [log] [tgz] |
---|---|---|
author | Martin K. Petersen <martin.petersen@oracle.com> | Fri Sep 19 18:47:19 2008 -0400 |
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | Mon Oct 13 09:28:57 2008 -0400 |
tree | 3992dbec095b5034725eb4b0397c4ea9249487b6 | |
parent | c82dc88ddaf17112841dd3a6b08352968555ee08 [diff] |
[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>