Revert "[SCSI] extend the last_sector_bug flag to cover more sectors"
authorLinus Torvalds <torvalds@linux-foundation.org>
Mon, 4 Aug 2008 23:36:20 +0000 (16:36 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 4 Aug 2008 23:36:20 +0000 (16:36 -0700)
commitfca082c9f1e11ec07efa8d2f9f13688521253f36
tree94a18d0aed308b44ba606261c603c63860c35c30
parent8f616cd5249e03c9e1b371623d85e76d4b86bbc1
Revert "[SCSI] extend the last_sector_bug flag to cover more sectors"

This reverts commit 2b142900784c6e38c8d39fa57d5f95ef08e735d8, since it
seems to break some other USB storage devices (at least a JMicron USB to
ATA bridge).  As such, while it apparently fixes some cardreaders, it
would need to be made conditional on the exact reader it fixes in order
to avoid causing regressions.

Cc: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/scsi/sd.c
drivers/scsi/sd.h
include/scsi/scsi_device.h