projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c252f00
)
tfm_fc: use transport_handle_cdb_direct
author
Christoph Hellwig
<hch@lst.de>
Mon, 12 Sep 2011 19:50:49 +0000
(21:50 +0200)
committer
Nicholas Bellinger
<nab@linux-iscsi.org>
Mon, 24 Oct 2011 03:20:24 +0000
(
03:20
+0000)
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>
drivers/target/tcm_fc/tfc_cmd.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/target/tcm_fc/tfc_cmd.c
b/drivers/target/tcm_fc/tfc_cmd.c
index 3c6c5a1c7dd03eac7d709d7c6a51a11ac9049486..c2d148d80cf76215b35c9b63caf455fdc917a936 100644
(file)
--- 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)
transport_generic_free_cmd(se_cmd, 0, 0);
return;
}
- transport_
generic_handle_cdb
(se_cmd);
+ transport_
handle_cdb_direct
(se_cmd);
return;
err: