target: move code for CDB emulation
authorChristoph Hellwig <hch@infradead.org>
Sun, 20 May 2012 15:59:15 +0000 (11:59 -0400)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 17 Jul 2012 00:27:45 +0000 (17:27 -0700)
commit1fd032ee10d2816c947f5d5b9abda95e728f0a8f
tree2a76ad6b466160127dd41ba1d2f6fdb54f412bf2
parentd6e0175cf3f9737a760482d185bb73566bcc9331
target: move code for CDB emulation

Move the existing code in target_core_cdb.c into the files for the command
sets that the emulations implement.

(roland + nab: Squash patch: Fix range calculation in WRITE SAME emulation
 when num blocks == 0s)

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/Makefile
drivers/target/target_core_cdb.c [deleted file]
drivers/target/target_core_internal.h
drivers/target/target_core_pscsi.c
drivers/target/target_core_sbc.c
drivers/target/target_core_spc.c
drivers/target/target_core_transport.c
include/target/target_core_backend.h