diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c index 45f81add150e35f93f0a868fcb2791bfb958d2a9..f7582c9c320e029aa916912646ec48f0991c6467 100644 --- a/drivers/ata/libata-eh.c +++ b/drivers/ata/libata-eh.c @@ -336,6 +336,7 @@ void ata_scsi_error(struct Scsi_Host *host) } ata_port_printk(ap, KERN_ERR, "EH pending after %d " "tries, giving up\n", ATA_EH_MAX_REPEAT); + ap->pflags &= ~ATA_PFLAG_EH_PENDING; } /* this run is complete, make sure EH info is clear */