Re: [PATCH] usb-storage: update earlier scatter-gather bug fix

2008-02-22 Thread Alan Stern
On Fri, 22 Feb 2008, Greg KH wrote: > On Fri, Feb 22, 2008 at 05:00:06PM -0500, Alan Stern wrote: > > 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 multi

Re: [PATCH] usb-storage: update earlier scatter-gather bug fix

2008-02-22 Thread Greg KH
On Fri, Feb 22, 2008 at 05:00:06PM -0500, Alan Stern wrote: > 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

[PATCH] usb-storage: update earlier scatter-gather bug fix

2008-02-22 Thread Alan Stern
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