Skip to content

Commit

Permalink
libata: fix EH-related lockup by properly cleaning EH command list
Browse files Browse the repository at this point in the history
Yet another hack due to the fact that libata is the only user of SCSI's
->eh_strategy_handler() hook.
  • Loading branch information
Tejun Heo authored and Jeff Garzik committed Aug 10, 2005
1 parent fae0098 commit 4251743
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/scsi/libata-scsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4251743

Please sign in to comment.