commit | 42517438f9c1011a03e49a542cba32ac5a80dd8e | [log] [tgz] |
---|---|---|
author | Tejun Heo <htejun@gmail.com> | Wed Aug 10 13:38:27 2005 -0400 |
committer | Jeff Garzik <jgarzik@pobox.com> | Wed Aug 10 13:38:27 2005 -0400 |
tree | e754cb76bd2db916dd38e6ba5f65a2e56a701b84 | |
parent | fae009847c9ea3d668bbee21ce1d76764eca5039 [diff] |
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 794fb55..6a75ec2 100644 --- a/drivers/scsi/libata-scsi.c +++ b/drivers/scsi/libata-scsi.c
@@ -385,6 +385,7 @@ * appropriate place */ host->host_failed--; + INIT_LIST_HEAD(&host->eh_cmd_q); DPRINTK("EXIT\n"); return 0;