diff options
author | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2007-05-31 00:57:05 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2007-05-31 00:57:05 -0400 |
commit | 5bc65793cbf8da0d35f19ef025dda22887e79e80 (patch) | |
tree | 8291998abd73055de6f487fafa174ee2a5d3afee /drivers/scsi/ipr.c | |
parent | 6edae708bf77e012d855a7e2c7766f211d234f4f (diff) | |
parent | 3f0a6766e0cc5a577805732e5adb50a585c58175 (diff) |
[SCSI] Merge up to linux-2.6 head
Conflicts:
drivers/scsi/jazz_esp.c
Same changes made by both SCSI and SPARC trees: problem with UTF-8
conversion in the copyright.
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/ipr.c')
-rw-r--r-- | drivers/scsi/ipr.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c index 6411c458d336..072f57715658 100644 --- a/drivers/scsi/ipr.c +++ b/drivers/scsi/ipr.c | |||
@@ -3928,6 +3928,13 @@ static int __ipr_eh_dev_reset(struct scsi_cmnd * scsi_cmd) | |||
3928 | spin_unlock_irq(scsi_cmd->device->host->host_lock); | 3928 | spin_unlock_irq(scsi_cmd->device->host->host_lock); |
3929 | ata_do_eh(ap, NULL, NULL, ipr_sata_reset, NULL); | 3929 | ata_do_eh(ap, NULL, NULL, ipr_sata_reset, NULL); |
3930 | spin_lock_irq(scsi_cmd->device->host->host_lock); | 3930 | spin_lock_irq(scsi_cmd->device->host->host_lock); |
3931 | |||
3932 | list_for_each_entry(ipr_cmd, &ioa_cfg->pending_q, queue) { | ||
3933 | if (ipr_cmd->ioarcb.res_handle == res->cfgte.res_handle) { | ||
3934 | rc = -EIO; | ||
3935 | break; | ||
3936 | } | ||
3937 | } | ||
3931 | } else | 3938 | } else |
3932 | rc = ipr_device_reset(ioa_cfg, res); | 3939 | rc = ipr_device_reset(ioa_cfg, res); |
3933 | res->resetting_device = 0; | 3940 | res->resetting_device = 0; |