aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/target/tcm_fc
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2011-09-12 15:50:49 -0400
committerNicholas Bellinger <nab@linux-iscsi.org>2011-10-23 23:20:24 -0400
commit4ca495e0630b6fd960f94f89a9f13ad32b91bc96 (patch)
treed138dda26a2d9cba41e8654d4d0c2372c3e917e4 /drivers/target/tcm_fc
parentc252f003470a99d319db4ebd12f4a9e4710a65db (diff)
tfm_fc: use transport_handle_cdb_direct
ft_send_work is always called from workqueue context, which means we can handle the CDB directly instead of doing another context switch. Signed-off-by: Christoph Hellwig <hch@lst.de> Cc: Kiran Patil <kiran.patil@intel.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/tcm_fc')
-rw-r--r--drivers/target/tcm_fc/tfc_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/target/tcm_fc/tfc_cmd.c b/drivers/target/tcm_fc/tfc_cmd.c
index 3c6c5a1c7dd0..c2d148d80cf7 100644
--- a/drivers/target/tcm_fc/tfc_cmd.c
+++ b/drivers/target/tcm_fc/tfc_cmd.c
@@ -639,7 +639,7 @@ static void ft_send_work(struct work_struct *work)
639 transport_generic_free_cmd(se_cmd, 0, 0); 639 transport_generic_free_cmd(se_cmd, 0, 0);
640 return; 640 return;
641 } 641 }
642 transport_generic_handle_cdb(se_cmd); 642 transport_handle_cdb_direct(se_cmd);
643 return; 643 return;
644 644
645err: 645err: