tree e754cb76bd2db916dd38e6ba5f65a2e56a701b84
parent fae009847c9ea3d668bbee21ce1d76764eca5039
author Tejun Heo <[EMAIL PROTECTED]> Wed, 10 Aug 2005 21:38:27 -0400
committer Jeff Garzik <[EMAIL PROTECTED]> Wed, 10 Aug 2005 21:38:27 -0400

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.

 drivers/scsi/libata-scsi.c |    1 +
 1 files changed, 1 insertion(+)

diff --git a/drivers/scsi/libata-scsi.c b/drivers/scsi/libata-scsi.c
--- a/drivers/scsi/libata-scsi.c
+++ b/drivers/scsi/libata-scsi.c
@@ -385,6 +385,7 @@ int ata_scsi_error(struct Scsi_Host *hos
         * appropriate place
         */
        host->host_failed--;
+       INIT_LIST_HEAD(&host->eh_cmd_q);
 
        DPRINTK("EXIT\n");
        return 0;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to