summaryrefslogtreecommitdiff
path: root/drivers/scsi/scsi_lib.c
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@HansenPartnership.com>2016-03-15 22:24:44 (GMT)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2016-03-15 22:24:44 (GMT)
commita7dee8f45fa2948b74d8e84ba24e435c87fd0acf (patch)
tree06ec1c93334f581e341cf74f5639ce645266fc14 /drivers/scsi/scsi_lib.c
parent7ee7895c93d1d6cafad2f5d187f0a9369e91eaec (diff)
parent5ecee0a3ee8d74b6950cb41e8989b0c2174568d4 (diff)
downloadlinux-a7dee8f45fa2948b74d8e84ba24e435c87fd0acf.tar.xz
Merge branch 'fixes' into misc
Diffstat (limited to 'drivers/scsi/scsi_lib.c')
-rw-r--r--drivers/scsi/scsi_lib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c
index d46193a..8106515 100644
--- a/drivers/scsi/scsi_lib.c
+++ b/drivers/scsi/scsi_lib.c
@@ -1344,6 +1344,7 @@ scsi_prep_return(struct request_queue *q, struct request *req, int ret)
switch (ret) {
case BLKPREP_KILL:
+ case BLKPREP_INVALID:
req->errors = DID_NO_CONNECT << 16;
/* release the command and kill it */
if (req->special) {