diff options
author | James Bottomley <James.Bottomley@HansenPartnership.com> | 2016-03-15 15:24:44 -0700 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2016-03-15 15:24:44 -0700 |
commit | a7dee8f45fa2948b74d8e84ba24e435c87fd0acf (patch) | |
tree | 06ec1c93334f581e341cf74f5639ce645266fc14 /drivers/scsi/scsi_lib.c | |
parent | 7ee7895c93d1d6cafad2f5d187f0a9369e91eaec (diff) | |
parent | 5ecee0a3ee8d74b6950cb41e8989b0c2174568d4 (diff) |
Merge branch 'fixes' into misc
Diffstat (limited to 'drivers/scsi/scsi_lib.c')
-rw-r--r-- | drivers/scsi/scsi_lib.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index d46193a5e246..8106515d1df8 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) { |