From: Alan Cox Date: Tue, 24 Mar 2009 10:23:19 +0000 (+0000) Subject: [libata] Drain data on errors X-Git-Tag: v2.6.30-rc1~669^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d47aa8e7e7b2aa09256590388aa8dddc79280f9;p=pandora-kernel.git [libata] Drain data on errors If the device is signalling that there is data to drain after an error we should read the bytes out and throw them away. Without this some devices and controllers get wedged and don't recover. Based on earlier work by Mark Lord Signed-off-by: Alan Cox Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed