Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 29517
b: refs/heads/master
c: f9be711
h: refs/heads/master
i:
  29515: d6c52d2
v: v3
  • Loading branch information
Tejun Heo authored and Jeff Garzik committed Jun 12, 2006
1 parent c3a8b9b commit 273380e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 551e8889509c30cda31e464e5cbe7572c4e1febd
refs/heads/master: f9be7113b56eb5d013a611d9c65e8d1d2d3f7c94
6 changes: 3 additions & 3 deletions trunk/drivers/scsi/libata-eh.c
Original file line number Diff line number Diff line change
Expand Up @@ -1556,8 +1556,6 @@ static int ata_eh_revalidate_and_attach(struct ata_port *ap,

/* schedule the scsi_rescan_device() here */
queue_work(ata_aux_wq, &(ap->scsi_rescan_task));

ehc->i.action &= ~ATA_EH_REVALIDATE;
} else if (dev->class == ATA_DEV_UNKNOWN &&
ehc->tries[dev->devno] &&
ata_class_enabled(ehc->classes[dev->devno])) {
Expand All @@ -1578,7 +1576,9 @@ static int ata_eh_revalidate_and_attach(struct ata_port *ap,
}
}

if (rc)
if (rc == 0)
ehc->i.action &= ~ATA_EH_REVALIDATE;
else
*r_failed_dev = dev;

DPRINTK("EXIT\n");
Expand Down

0 comments on commit 273380e

Please sign in to comment.