target: move transport_generic_prepare_cdb into pscsi
authorChristoph Hellwig <hch@infradead.org>
Sun, 20 May 2012 15:59:17 +0000 (11:59 -0400)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 17 Jul 2012 00:28:40 +0000 (17:28 -0700)
commit3d6d72014f16967ca92765040be30f022c5952e6
treeca4a3028d770ceab2b42fedca07e78d6d90a06b2
parent1fd032ee10d2816c947f5d5b9abda95e728f0a8f
target: move transport_generic_prepare_cdb into pscsi

The virtual drivers don't need to clear cdb fields they never look at, so move
this code into the pscsi backend.

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