View | Details | Raw Unified | Return to bug 231088
Collapse All | Expand All

(-)a/drivers/ata/libata-eh.c (+4 lines)
Lines 1979-1984 static int ata_eh_recover(struct ata_port *ap, ata_prereset_fn_t prereset, Link Here
1979
1979
1980
		ehc->tries[dev->devno] = ATA_EH_DEV_TRIES;
1980
		ehc->tries[dev->devno] = ATA_EH_DEV_TRIES;
1981
1981
1982
		/* collect port action mask recorded in dev actions */
1983
		ehc->i.action |= ehc->i.dev_action[i] & ~ATA_EH_PERDEV_MASK;
1984
		ehc->i.dev_action[i] &= ATA_EH_PERDEV_MASK;
1985
1982
		/* process hotplug request */
1986
		/* process hotplug request */
1983
		if (dev->flags & ATA_DFLAG_DETACH)
1987
		if (dev->flags & ATA_DFLAG_DETACH)
1984
			ata_eh_detach_dev(dev);
1988
			ata_eh_detach_dev(dev);

Return to bug 231088