summaryrefslogtreecommitdiffstats
path: root/drivers/target/Makefile
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2011-10-12 17:09:12 +0200
committerNicholas Bellinger <nab@linux-iscsi.org>2011-10-24 05:21:13 +0200
commit485fd0d1e3b8010b538bd0b209f3592acc825677 (patch)
treea13b8785b9b24fcec032b9f28fd06597edae7256 /drivers/target/Makefile
parenttarget: make the ->get_cdb method optional (diff)
downloadlinux-485fd0d1e3b8010b538bd0b209f3592acc825677.tar.xz
linux-485fd0d1e3b8010b538bd0b209f3592acc825677.zip
target: replace ->get_cdb with a target_get_task_cdb helper
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>
Diffstat (limited to 'drivers/target/Makefile')
0 files changed, 0 insertions, 0 deletions