[SCSI] ibmvfc: Fix error reporting for some FC errors
authorBrian King <brking@linux.vnet.ibm.com>
Wed, 29 Oct 2008 13:46:36 +0000 (08:46 -0500)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 29 Dec 2008 17:24:12 +0000 (11:24 -0600)
commit50119dad2a6c2674f35d81e708822b40f65f40cb
tree88c2ea1a7d625acfd8d9ac16ea98ac60faa6e1d5
parent596891acd774f515c2a43adda9322d6a9b2b51b9
[SCSI] ibmvfc: Fix error reporting for some FC errors

If either a "transport fault" or a "general transport" error is received
and no other error information is available, the command is improperly
returned as successful. Fix this to return DID_ERROR in this case.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/ibmvscsi/ibmvfc.c