summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/megaraid
diff options
context:
space:
mode:
authorHugh Dickins <hugh@veritas.com>2008-08-06 19:21:18 +0200
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-08-06 19:49:23 +0200
commitd211f052fa58a053639bc51501cb64421157d362 (patch)
tree8850e9490295e2697ecfd3ec72729a867b376d65 /drivers/scsi/megaraid
parentLinux 2.6.27-rc2 (diff)
downloadlinux-d211f052fa58a053639bc51501cb64421157d362.tar.xz
linux-d211f052fa58a053639bc51501cb64421157d362.zip
[SCSI] sd: fix USB devices incorrectly reporting DIF support
Some USB devices set the protect bit in the INQUIRY data which currently causes the DIF code in sd to assume (incorrectly) that they support READ_CAPACITY(16). Fix this (only for the time being) by making sure we only believe the protect bit in the inquiry data if the device claims conformance to SCSI-3 or above. Acked-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/megaraid')
0 files changed, 0 insertions, 0 deletions