From: Tejun Heo Date: Wed, 10 Aug 2005 17:38:27 +0000 (-0400) Subject: libata: fix EH-related lockup by properly cleaning EH command list X-Git-Tag: v2.6.13-rc7~103^2 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42517438f9c1011a03e49a542cba32ac5a80dd8e;p=linux-2.6 libata: fix EH-related lockup by properly cleaning EH command list Yet another hack due to the fact that libata is the only user of SCSI's ->eh_strategy_handler() hook. --- diff --git a/drivers/scsi/libata-scsi.c b/drivers/scsi/libata-scsi.c index 794fb559ef..6a75ec2187 100644 --- a/drivers/scsi/libata-scsi.c +++ b/drivers/scsi/libata-scsi.c @@ -385,6 +385,7 @@ int ata_scsi_error(struct Scsi_Host *host) * appropriate place */ host->host_failed--; + INIT_LIST_HEAD(&host->eh_cmd_q); DPRINTK("EXIT\n"); return 0;