From: Brian King Date: Wed, 9 May 2007 20:36:35 +0000 (-0500) Subject: [SCSI] ipr: Proper return codes for eh_dev_reset for SATA devices X-Git-Tag: v2.6.22-rc4~100^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5af23d263c33a3f6fc93facfd87d2a091eff2060;p=pandora-kernel.git [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 Signed-off-by: James Bottomley --- Reading git-diff-tree failed