commit | 485fd0d1e3b8010b538bd0b209f3592acc825677 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@infradead.org> | Wed Oct 12 11:09:12 2011 -0400 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Mon Oct 24 03:21:13 2011 +0000 |
tree | a13b8785b9b24fcec032b9f28fd06597edae7256 | |
parent | 6193f06e6fe27c9475e407cb3cf2b0d4cd2725b0 [diff] |
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>