target: replace ->get_cdb with a target_get_task_cdb helper
authorChristoph Hellwig <hch@infradead.org>
Wed, 12 Oct 2011 15:09:12 +0000 (11:09 -0400)
committerNicholas Bellinger <nab@linux-iscsi.org>
Mon, 24 Oct 2011 03:21:13 +0000 (03:21 +0000)
Instead of calling out to the backends from the core to get a per-task
CDB and then modify it for the LBA/len pair used for this CDB provide
a helper that writes the adjusted CDB into a provided buffer and call
this method from ->do_task in pscsi.

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

No differences found