[SCSI] libiscsi: return error passed in during iscsi recovery
authorMike Christie <michaelc@cs.wisc.edu>
Sat, 6 Sep 2008 13:39:15 +0000 (08:39 -0500)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 3 Oct 2008 16:46:16 +0000 (11:46 -0500)
commitac26d41dee65167109e7cdcd0289b44ca61cd741
tree45f1b872cd3323fe1fbf244a85d91b8e8fd39b14
parenta7bbb57333447d0cf950992653b6b079585f3531
[SCSI] libiscsi: return error passed in during iscsi recovery

Due to patch building error on my side, we are still passing DID_BUS_BUSY
for commands that are running, when we want to return whatever the caller
of fail_all_commands wanted. This replaces the hardcoded error code with
the value that is passed in.

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