Steffen Koehler wrote:
static int ahci_hardreset(struct ata_port *ap, int verbose,
unsigned int *class)
{
int rc;
DPRINTK("ENTER\n");
ahci_stop_engine(ap);
rc = sata_std_hardreset(ap, verbose, class);
ahci_start_engine(ap);
- if (rc == 0)
+ if ((rc == 0) && sata_dev_present(ap))
Acked-by: Tejun Heo <htejun@xxxxxxxxx>
The corresponding fix is already in libata-dev#upstream and Linus's
tree, so this fix is just for -stable.
Thanks.
--
tejun
-
: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html