diff options
Diffstat (limited to 'drivers/scsi/hpsa.c')
-rw-r--r-- | drivers/scsi/hpsa.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 4047c37aa4f8..6e97f05bd493 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c | |||
@@ -2330,7 +2330,8 @@ static int hpsa_scsi_queue_command_lck(struct scsi_cmnd *cmd, | |||
2330 | if ((likely(h->transMethod & CFGTBL_Trans_io_accel1)) && | 2330 | if ((likely(h->transMethod & CFGTBL_Trans_io_accel1)) && |
2331 | (dev->ioaccel_handle) && | 2331 | (dev->ioaccel_handle) && |
2332 | ((cmd->cmnd[0] == READ_10) || (cmd->cmnd[0] == WRITE_10)) && | 2332 | ((cmd->cmnd[0] == READ_10) || (cmd->cmnd[0] == WRITE_10)) && |
2333 | (scsi_sg_count(cmd) <= IOACCEL1_MAXSGENTRIES)) | 2333 | (scsi_sg_count(cmd) <= IOACCEL1_MAXSGENTRIES) && |
2334 | likely(cmd->request->cmd_type == REQ_TYPE_FS)) | ||
2334 | return hpsa_scsi_ioaccel_queue_command(h, c); | 2335 | return hpsa_scsi_ioaccel_queue_command(h, c); |
2335 | 2336 | ||
2336 | c->Header.ReplyQueue = 0; /* unused in simple mode */ | 2337 | c->Header.ReplyQueue = 0; /* unused in simple mode */ |