[SCSI] set error value when failing commands in prep_fn
authorMike Christie <michaelc@cs.wisc.edu>
Sat, 10 Sep 2005 21:45:35 +0000 (16:45 -0500)
committerJames Bottomley <jejb@mulgrave.(none)>
Sun, 11 Sep 2005 02:02:25 +0000 (21:02 -0500)
commit6f16b5359ceb96780eac4178393b0e8a3c8aa1ea
treec45e9bf0b69fb94317b572c8b3042417d6046e4f
parent146f7262ee0ec7fc6882f06e5fcb13883308073c
[SCSI] set error value when failing commands in prep_fn

set DID_NO_CONNECT for the BLKPREP_KILL case and correct a few
BLKPREP_DEFER cases that weren't checking for the need to plug the
queue.

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