[SCSI] iscsi bugfixes: send correct error values to userspace
authorMike Christie <michaelc@cs.wisc.edu>
Mon, 24 Jul 2006 20:47:11 +0000 (15:47 -0500)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Fri, 28 Jul 2006 16:47:23 +0000 (11:47 -0500)
commitd82967c70658a408ea6cae5dc989ba8b2c0999e1
tree0ea99ac94283f01d14e40272fb403935533f15d4
parent8d4fbd3f978ba49498dc7c6430368c4ff86a09fc
[SCSI] iscsi bugfixes: send correct error values to userspace

In the xmit patch we are sending a -EXXX value to iscsi_conn_failure
which is causing userspace to get confused.

We should be sending a ISCSI_ERR_* value that userspace understands.

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