Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 29518
b: refs/heads/master
c: aeb2ecd
h: refs/heads/master
v: v3
  • Loading branch information
Tejun Heo authored and Jeff Garzik committed Jun 12, 2006
1 parent 273380e commit ee8cb10
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f9be7113b56eb5d013a611d9c65e8d1d2d3f7c94
refs/heads/master: aeb2ecd6096182cc080d37679080c0f088dcd4a4
4 changes: 4 additions & 0 deletions trunk/drivers/scsi/libata-eh.c
Original file line number Diff line number Diff line change
Expand Up @@ -1680,6 +1680,10 @@ static int ata_eh_recover(struct ata_port *ap, ata_prereset_fn_t prereset,
down_xfermask = 0;
rc = 0;

/* if UNLOADING, finish immediately */
if (ap->flags & ATA_FLAG_UNLOADING)
goto out;

/* skip EH if possible. */
if (ata_eh_skip_recovery(ap))
ehc->i.action = 0;
Expand Down

0 comments on commit ee8cb10

Please sign in to comment.