target: use ->exectute_task for all CDB emulation
authorChristoph Hellwig <hch@infradead.org>
Thu, 3 Nov 2011 21:50:45 +0000 (17:50 -0400)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 4 Nov 2011 10:44:35 +0000 (10:44 +0000)
commit5bda90c8f20f0af93375721533f4081a40fa6f41
tree0ac0395e80359e8b4b8fc4220effc7a6225d259b
parentd29a5b6acc4b63d4e05ff554509df6fbeaf527cd
target: use ->exectute_task for all CDB emulation

Instead of calling into transport_emulate_control_cdb from
__transport_execute_tasks for some CDBs always set up ->exectute_tasks
in the command sequence and use it uniformly.

(nab: Add default passthrough break for SERVICE_ACTION_IN)

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_cdb.c
drivers/target/target_core_cdb.h [new file with mode: 0644]
drivers/target/target_core_transport.c