commit | 5af23d263c33a3f6fc93facfd87d2a091eff2060 | [log] [tgz] |
---|---|---|
author | Brian King <brking@linux.vnet.ibm.com> | Wed May 09 15:36:35 2007 -0500 |
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | Wed May 16 12:39:33 2007 -0400 |
tree | e49db9c342a2c62d4996bc9a323f0e0d05c5e671 | |
parent | 9f28745a6b554fdd6b0dbc9856077701a55f9569 [diff] |
[SCSI] ipr: Proper return codes for eh_dev_reset for SATA devices Currently ipr always returns success from eh_dev_reset when called for a SATA device. If ata_do_eh is unable to recover for some reason, this can result in commands that are still outstanding when ata_do_eh returns. Change ipr to verify no commands are outstanding before returning success. Signed-off-by: Brian King <brking@linux.vnet.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>