From: Alan Stern Date: Tue, 5 Aug 2008 17:05:17 +0000 (-0400) Subject: Fix USB storage hang on command abort X-Git-Tag: v2.6.27-rc2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=580da34847488b404218d1d7f53b156f245f5555;p=pandora-kernel.git Fix USB storage hang on command abort Okay, I found the cause of the hang. It is a simple bug in the USB scatter-gather library, caused by changes added in response to the S-G chaining modification. This patch (as1125) fixes a bug in the USB scatter-gather library. Early exit from the S-G initialization loop does not reset the count of outstanding URBs. Signed-off-by: Alan Stern Cc: Matthew Dharm Cc: David Brownell Cc: Alan Jenkins Cc: James Bottomley Cc: Greg KH Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed