From: Christoph Hellwig Date: Sun, 8 Jul 2012 19:58:43 +0000 (-0400) Subject: srpt: use target_execute_cmd for WRITEs in srpt_handle_rdma_comp X-Git-Tag: v3.6-rc1~156^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e672a47fd99b47589dfe2f85759e4c8de526196b;p=pandora-kernel.git srpt: use target_execute_cmd for WRITEs in srpt_handle_rdma_comp srpt_handle_rdma_comp is called from kthread context and thus can execute target_execute_cmd directly. srpt_abort_cmd sets the CMD_T_LUN_STOP flag directly, and thus the abuse of transport_generic_handle_data can be replaced with an opencoded variant of that code path. I'm still not happy about a fabric driver poking into target core internals like this, but let's defer the bigger architecture changes for now. Signed-off-by: Christoph Hellwig Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed