[SCSI] iscsi_tcp: return a descriptive error value during connection errors
commit6f481e3cefeb33094e87af176587e6a3027f104e
authorMike Christie <michaelc@cs.wisc.edu>
Wed, 24 Sep 2008 16:46:13 +0000 (24 11:46 -0500)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 13 Oct 2008 13:29:00 +0000 (13 09:29 -0400)
tree676ee530f74210d0518b519036594a7bdb64e1af
parent8e12452549ba2dfa17db97bc495172fac221a7ab
[SCSI] iscsi_tcp: return a descriptive error value during connection errors

The segment->done functions return a iscsi error value which gives
a lot more info than conn failed, so this patch has us return
that value. I also add a new one for xmit failures.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/iscsi_tcp.c
include/scsi/iscsi_if.h