Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 57021
b: refs/heads/master
c: 5af23d2
h: refs/heads/master
i:
  57019: fa1943d
v: v3
  • Loading branch information
Brian King authored and James Bottomley committed May 16, 2007
1 parent 8d97f15 commit 2276407
Show file tree
Hide file tree
Showing 2 changed files with 8 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: 9f28745a6b554fdd6b0dbc9856077701a55f9569
refs/heads/master: 5af23d263c33a3f6fc93facfd87d2a091eff2060
7 changes: 7 additions & 0 deletions trunk/drivers/scsi/ipr.c
Original file line number Diff line number Diff line change
Expand Up @@ -3954,6 +3954,13 @@ static int __ipr_eh_dev_reset(struct scsi_cmnd * scsi_cmd)
spin_unlock_irq(scsi_cmd->device->host->host_lock);
ata_do_eh(ap, NULL, NULL, ipr_sata_reset, NULL);
spin_lock_irq(scsi_cmd->device->host->host_lock);

list_for_each_entry(ipr_cmd, &ioa_cfg->pending_q, queue) {
if (ipr_cmd->ioarcb.res_handle == res->cfgte.res_handle) {
rc = -EIO;
break;
}
}
} else
rc = ipr_device_reset(ioa_cfg, res);
res->resetting_device = 0;
Expand Down

0 comments on commit 2276407

Please sign in to comment.