Merge branch 'fixes' into misc
[sfrench/cifs-2.6.git] / drivers / scsi / scsi_lib.c
index d46193a5e24651e63cad394e378995b10facf034..8106515d1df8c048174b0a7fdc239eedc265f6fa 100644 (file)
@@ -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) {