iscsi-target: always call transport_handle_cdb_direct
authorChristoph Hellwig <hch@lst.de>
Mon, 12 Sep 2011 19:50:56 +0000 (21:50 +0200)
committerNicholas Bellinger <nab@linux-iscsi.org>
Mon, 24 Oct 2011 03:20:26 +0000 (03:20 +0000)
iscsit_task_reassign_complete is always called from the TX thread, so
handle the CDB directly instead of offloading it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/iscsi/iscsi_target_tmr.c

index db1fe1ec84dfd568bed8a61799bdc6443d9f2ab8..c3617d8ff3ea04148e6a526cce7346646a6da26b 100644 (file)
@@ -318,7 +318,7 @@ static int iscsit_task_reassign_complete_read(
                pr_debug("READ ITT: 0x%08x: t_state: %d never sent to"
                        " transport\n", cmd->init_task_tag,
                        cmd->se_cmd.t_state);
-               transport_generic_handle_cdb(se_cmd);
+               transport_handle_cdb_direct(se_cmd);
                return 0;
        }