]> git.baikalelectronics.ru Git - kernel.git/commit
tcm_fc: Remove use of transport_do_task_sg_chain()
authorRoland Dreier <roland@purestorage.com>
Fri, 30 Mar 2012 18:29:11 +0000 (11:29 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sun, 15 Apr 2012 00:40:31 +0000 (17:40 -0700)
commitf6008905cb89ec6865a185f1c2bfdf9305ba6e7d
tree7d6be3d901dd51d20fac3690f973e6b00e7d71ef
parent02474e4a0996a6c29e00298772b9a4512f6888ad
tcm_fc: Remove use of transport_do_task_sg_chain()

With the modern target core, se_cmd->t_data_sg already points to a
sglist that covers the whole command.  So task_sg chaining is needless
overhead and obfuscation -- instead of splicing the split up task
sglists back into one list, we can just use the original list directly.

Signed-off-by: Roland Dreier <roland@purestorage.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: Kiran Patil <Kiran.patil@intel.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/tcm_fc/tfc_cmd.c
drivers/target/tcm_fc/tfc_conf.c
drivers/target/tcm_fc/tfc_io.c