projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fae0098
)
libata: fix EH-related lockup by properly cleaning EH command list
author
Tejun Heo
<htejun@gmail.com>
Wed, 10 Aug 2005 17:38:27 +0000
(13:38 -0400)
committer
Jeff Garzik
<jgarzik@pobox.com>
Wed, 10 Aug 2005 17:38:27 +0000
(13:38 -0400)
Yet another hack due to the fact that libata is the only user of SCSI's
->eh_strategy_handler() hook.
drivers/scsi/libata-scsi.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/libata-scsi.c
b/drivers/scsi/libata-scsi.c
index 794fb559efb080aa9986df125cd3730ff48ee5ae..6a75ec2187fde5451b1ae77443ecc8aceb96e319 100644
(file)
--- 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;