diff options
author | Tejun Heo <htejun@gmail.com> | 2005-08-10 13:38:27 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-08-10 13:38:27 -0400 |
commit | 42517438f9c1011a03e49a542cba32ac5a80dd8e (patch) | |
tree | e754cb76bd2db916dd38e6ba5f65a2e56a701b84 /drivers | |
parent | fae009847c9ea3d668bbee21ce1d76764eca5039 (diff) | |
download | talos-obmc-linux-42517438f9c1011a03e49a542cba32ac5a80dd8e.tar.gz talos-obmc-linux-42517438f9c1011a03e49a542cba32ac5a80dd8e.zip |
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.
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/libata-scsi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/libata-scsi.c b/drivers/scsi/libata-scsi.c index 794fb559efb0..6a75ec2187fd 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; |