[PATCH] Avoid that ATA error handling hangs