target: refactor transport_emulate_control_cdb
authorChristoph Hellwig <hch@infradead.org>
Thu, 3 Nov 2011 21:50:43 +0000 (17:50 -0400)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 4 Nov 2011 08:00:17 +0000 (08:00 +0000)
commit6ed5a557905f1c4e9ca5f8a6d607303a12d097e1
tree044b1acc91c0e3ebf2816856c262dd7c951346f2
parente76a35d6c809bd1638e3b1b535bb780ac731c380
target: refactor transport_emulate_control_cdb

Encapsulate each CDB emulation into a function of its own, to prepare
setting ->exectute_task to these routines.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_cdb.c