[SCSI] usbstorage: use last_sector_bug flag universally
authorHans de Goede <j.w.r.degoede@hhs.nl>
Sun, 20 Jan 2008 10:27:29 +0000 (11:27 +0100)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 25 Jan 2008 22:50:31 +0000 (16:50 -0600)
commit23c3e290fb9ce38cabc2822b47583fc8702411bf
tree43c703144aeed36658ed9df1d3080aba4cbcab4b
parent366ca51f30de1cbb5b356c70b7bb22051c558e41
[SCSI] usbstorage: use last_sector_bug flag universally

This patch sets the last_sector_bug flag to 1 for all USB disks. This is
needed to makes the cardreader on various HP multifunction printers work.

Since the performance impact is negible we set this flag for all USB disks to
avoid an unusual_devs.h nightmare.

Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
Acked-by: Matthew Dharm <mdharm-usb@one-eyed-alien.net>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/usb/storage/scsiglue.c