Browse Source

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>
Christoph Hellwig 13 years ago
parent
commit
acf3ecc4a1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/target/iscsi/iscsi_target_tmr.c

+ 1 - 1
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"
 		pr_debug("READ ITT: 0x%08x: t_state: %d never sent to"
 			" transport\n", cmd->init_task_tag,
 			" transport\n", cmd->init_task_tag,
 			cmd->se_cmd.t_state);
 			cmd->se_cmd.t_state);
-		transport_generic_handle_cdb(se_cmd);
+		transport_handle_cdb_direct(se_cmd);
 		return 0;
 		return 0;
 	}
 	}