summaryrefslogtreecommitdiffstats
path: root/include/target
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2011-10-12 11:09:13 -0400
committerNicholas Bellinger <nab@linux-iscsi.org>2011-10-24 03:21:15 +0000
commitb937d27052e5759b1308782166fe47bc76e05b4d (patch)
treeeb5a99096bb695d208b5cacd27637c167e9bb8f5 /include/target
parent485fd0d1e3b8010b538bd0b209f3592acc825677 (diff)
downloadop-kernel-dev-b937d27052e5759b1308782166fe47bc76e05b4d.zip
op-kernel-dev-b937d27052e5759b1308782166fe47bc76e05b4d.tar.gz
target: remove the ->transport_split_cdb callback in se_cmd
Add a switch statement implementing the CDB LBA/len update directly in target_get_task_cdb and remove the old ->transport_split_cdb callback and all its implementations. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'include/target')
-rw-r--r--include/target/target_core_base.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/target/target_core_base.h b/include/target/target_core_base.h
index a6c2348..16d7a49 100644
--- a/include/target/target_core_base.h
+++ b/include/target/target_core_base.h
@@ -470,7 +470,6 @@ struct se_cmd {
struct list_head se_queue_node;
struct target_core_fabric_ops *se_tfo;
int (*transport_emulate_cdb)(struct se_cmd *);
- void (*transport_split_cdb)(unsigned long long, u32, unsigned char *);
void (*transport_complete_callback)(struct se_cmd *);
int (*transport_qf_callback)(struct se_cmd *);
OpenPOWER on IntegriCloud