diff options
| author | James Bottomley <JBottomley@Parallels.com> | 2014-12-18 08:56:29 -0500 |
|---|---|---|
| committer | James Bottomley <JBottomley@Parallels.com> | 2014-12-18 08:56:29 -0500 |
| commit | e61745769125a3c788e7aceb2a5fb680ebb461e6 (patch) | |
| tree | c8219c31767c8d6a64938626dd93069847d1d5b8 /drivers/target/loopback | |
| parent | 198a956a11b15b564ac06d1411881e215b587408 (diff) | |
| parent | e86fb5e8ab95f10ec5f2e9430119d5d35020c951 (diff) | |
Merge remote-tracking branch 'scsi-queue/drivers-for-3.19' into for-linus
Diffstat (limited to 'drivers/target/loopback')
| -rw-r--r-- | drivers/target/loopback/tcm_loop.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/target/loopback/tcm_loop.c b/drivers/target/loopback/tcm_loop.c index 4d1b7224a7f2..dda9a08c939f 100644 --- a/drivers/target/loopback/tcm_loop.c +++ b/drivers/target/loopback/tcm_loop.c | |||
| @@ -168,7 +168,7 @@ static void tcm_loop_submission_work(struct work_struct *work) | |||
| 168 | 168 | ||
| 169 | rc = target_submit_cmd_map_sgls(se_cmd, tl_nexus->se_sess, sc->cmnd, | 169 | rc = target_submit_cmd_map_sgls(se_cmd, tl_nexus->se_sess, sc->cmnd, |
| 170 | &tl_cmd->tl_sense_buf[0], tl_cmd->sc->device->lun, | 170 | &tl_cmd->tl_sense_buf[0], tl_cmd->sc->device->lun, |
| 171 | transfer_length, MSG_SIMPLE_TAG, | 171 | transfer_length, TCM_SIMPLE_TAG, |
| 172 | sc->sc_data_direction, 0, | 172 | sc->sc_data_direction, 0, |
| 173 | scsi_sglist(sc), scsi_sg_count(sc), | 173 | scsi_sglist(sc), scsi_sg_count(sc), |
| 174 | sgl_bidi, sgl_bidi_count, | 174 | sgl_bidi, sgl_bidi_count, |
| @@ -248,7 +248,7 @@ static int tcm_loop_issue_tmr(struct tcm_loop_tpg *tl_tpg, | |||
| 248 | * Initialize struct se_cmd descriptor from target_core_mod infrastructure | 248 | * Initialize struct se_cmd descriptor from target_core_mod infrastructure |
| 249 | */ | 249 | */ |
| 250 | transport_init_se_cmd(se_cmd, se_tpg->se_tpg_tfo, se_sess, 0, | 250 | transport_init_se_cmd(se_cmd, se_tpg->se_tpg_tfo, se_sess, 0, |
| 251 | DMA_NONE, MSG_SIMPLE_TAG, | 251 | DMA_NONE, TCM_SIMPLE_TAG, |
| 252 | &tl_cmd->tl_sense_buf[0]); | 252 | &tl_cmd->tl_sense_buf[0]); |
| 253 | 253 | ||
| 254 | rc = core_tmr_alloc_req(se_cmd, tl_tmr, tmr, GFP_KERNEL); | 254 | rc = core_tmr_alloc_req(se_cmd, tl_tmr, tmr, GFP_KERNEL); |
| @@ -385,7 +385,6 @@ static struct scsi_host_template tcm_loop_driver_template = { | |||
| 385 | .name = "TCM_Loopback", | 385 | .name = "TCM_Loopback", |
| 386 | .queuecommand = tcm_loop_queuecommand, | 386 | .queuecommand = tcm_loop_queuecommand, |
| 387 | .change_queue_depth = scsi_change_queue_depth, | 387 | .change_queue_depth = scsi_change_queue_depth, |
| 388 | .change_queue_type = scsi_change_queue_type, | ||
| 389 | .eh_abort_handler = tcm_loop_abort_task, | 388 | .eh_abort_handler = tcm_loop_abort_task, |
| 390 | .eh_device_reset_handler = tcm_loop_device_reset, | 389 | .eh_device_reset_handler = tcm_loop_device_reset, |
| 391 | .eh_target_reset_handler = tcm_loop_target_reset, | 390 | .eh_target_reset_handler = tcm_loop_target_reset, |
