summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2011-09-12 21:50:56 +0200
committerNicholas Bellinger <nab@linux-iscsi.org>2011-10-24 03:20:26 +0000
commitacf3ecc4a1c7460662757c07ee1ec625760d3ae6 (patch)
tree02f67afb285d5b42e12b723d2d3fc6bb190598fa
parent4ca495e0630b6fd960f94f89a9f13ad32b91bc96 (diff)
downloadlinux-acf3ecc4a1c7460662757c07ee1ec625760d3ae6.tar.gz
linux-acf3ecc4a1c7460662757c07ee1ec625760d3ae6.tar.bz2
linux-acf3ecc4a1c7460662757c07ee1ec625760d3ae6.zip
iscsi-target: always call transport_handle_cdb_direct
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>
-rw-r--r--drivers/target/iscsi/iscsi_target_tmr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/target/iscsi/iscsi_target_tmr.c b/drivers/target/iscsi/iscsi_target_tmr.c
index db1fe1ec84df..c3617d8ff3ea 100644
--- a/drivers/target/iscsi/iscsi_target_tmr.c
+++ b/drivers/target/iscsi/iscsi_target_tmr.c
@@ -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;
}