From: Tejun Heo Date: Mon, 25 Jun 2007 12:47:11 +0000 (+0900) Subject: libata: fix infinite EH waiting bug X-Git-Tag: v2.6.22-rc7~40^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=914616a3c2a54504f3b0eda0b67fcd32226b3e83;p=pandora-kernel.git libata: fix infinite EH waiting bug When EH gives up after repeated exceptions, it doesn't't clear the PENDING bit on exit which leaves PENDING bit set without EH actually scheduled. This makes ata_port_wait_eh() to wait forever makes rmmod hang on such port. Fix it by clearing the flag. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed