diff options
author | Christoph Hellwig <hch@infradead.org> | 2011-11-03 17:50:42 -0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2011-11-04 08:00:17 +0000 |
commit | e76a35d6c809bd1638e3b1b535bb780ac731c380 (patch) | |
tree | a67bbbbc16cb4e612015da8b0f86fe981d1a5f77 /drivers/target/target_core_alua.h | |
parent | 617c0e06c1b30b799d8b25f92eefdc1b098cb9f8 (diff) | |
download | linux-e76a35d6c809bd1638e3b1b535bb780ac731c380.tar.bz2 |
target: pass the se_task to the CDB emulation callback
We want to be able to handle all CDBs through it and remove hacks like
always using the first task in a CDB in target_report_luns.
Also rename the callback to ->execute_task to better describe its use.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/target_core_alua.h')
-rw-r--r-- | drivers/target/target_core_alua.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/target/target_core_alua.h b/drivers/target/target_core_alua.h index c86f97a081ed..c5b4ecd3e745 100644 --- a/drivers/target/target_core_alua.h +++ b/drivers/target/target_core_alua.h @@ -66,8 +66,8 @@ extern struct kmem_cache *t10_alua_lu_gp_mem_cache; extern struct kmem_cache *t10_alua_tg_pt_gp_cache; extern struct kmem_cache *t10_alua_tg_pt_gp_mem_cache; -extern int core_emulate_report_target_port_groups(struct se_cmd *); -extern int core_emulate_set_target_port_groups(struct se_cmd *); +extern int target_emulate_report_target_port_groups(struct se_task *); +extern int target_emulate_set_target_port_groups(struct se_task *); extern int core_alua_check_nonop_delay(struct se_cmd *); extern int core_alua_do_port_transition(struct t10_alua_tg_pt_gp *, struct se_device *, struct se_port *, |