IB/srpt: Remove use of transport_do_task_sg_chain()
authorRoland Dreier <roland@purestorage.com>
Fri, 30 Mar 2012 18:29:12 +0000 (11:29 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sun, 15 Apr 2012 00:40:32 +0000 (17:40 -0700)
commit6f9e7f01b69bc2d6021e4ab827e1fd78c82cbc52
tree813c6e9f5e5cfe8e67444a00b5ece09a878462cd
parente182d6828d3144f7206829398c95fc14b78e9bbc
IB/srpt: 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>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/infiniband/ulp/srpt/ib_srpt.c