1
linux/drivers/usb/storage
Alan Stern 6d512a80c2 usb-storage: update earlier scatter-gather bug fix
This patch (as1037) makes a small update to the earlier as1035 patch.
The minimum-length computation shouldn't be done in
usb_stor_access_xfer_buf(), since that routine can be called multiple
times for a single transfer.  It should be done in
usb_stor_set_xfer_buf() instead, which gets called only once.

The way it is now isn't really _wrong_, but it isn't really _right_
either.  Moving the statement will be an improvement.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-03-04 14:57:43 -08:00
..
alauda.c USB storage: sg chaining support 2007-10-16 11:20:59 +02:00
alauda.h
datafab.c USB storage: sg chaining support 2007-10-16 11:20:59 +02:00
datafab.h
debug.c
debug.h
dpcm.c
dpcm.h
freecom.c [SCSI] usb: freecom & sddr09 - convert to accessors and !use_sg cleanup 2008-01-11 18:22:36 -06:00
freecom.h
initializers.c USB: usb/storage/initializers.c: fix signedness difference 2008-02-01 14:34:57 -08:00
initializers.h
isd200.c USB: isd200: don't include <linux/ide.h> 2008-02-01 14:34:47 -08:00
isd200.h
jumpshot.c USB storage: sg chaining support 2007-10-16 11:20:59 +02:00
jumpshot.h
karma.c
karma.h
Kconfig USB: isd200: sort out USB/IDE dependancy mess 2007-10-25 12:18:43 -07:00
libusual.c kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
Makefile
onetouch.c
onetouch.h
protocol.c usb-storage: update earlier scatter-gather bug fix 2008-03-04 14:57:43 -08:00
protocol.h USB storage: sg chaining support 2007-10-16 11:20:59 +02:00
scsiglue.c [SCSI] usbstorage: use last_sector_bug flag universally 2008-01-25 16:50:31 -06:00
scsiglue.h
sddr09.c [SCSI] usb: freecom & sddr09 - convert to accessors and !use_sg cleanup 2008-01-11 18:22:36 -06:00
sddr09.h
sddr55.c USB storage: sg chaining support 2007-10-16 11:20:59 +02:00
sddr55.h
shuttle_usbat.c [SCSI] usb: shuttle_usbat - convert to accessors and !use_sg code path removal 2008-01-11 18:22:37 -06:00
shuttle_usbat.h
transport.c USB: usb-storage: don't clear-halt when Get-Max-LUN stalls 2008-02-21 15:38:52 -08:00
transport.h [SCSI] usb: transport - convert to accessors and !use_sg code path removal 2008-01-11 18:22:38 -06:00
unusual_devs.h USB: quirks and unusual_devs entry for Actions flash drive 2008-02-21 15:38:54 -08:00
usb.c freezer: introduce freezer-friendly waiting macros 2007-10-18 14:37:19 -07:00
usb.h