summaryrefslogtreecommitdiffstats
path: root/include/target
diff options
context:
space:
mode:
authorNicholas Bellinger <nab@daterainc.com>2013-08-22 01:04:10 +0200
committerNicholas Bellinger <nab@linux-iscsi.org>2013-09-09 23:29:34 +0200
commit76dde50ebef75773ea2b68e0bf914e87e6a3711c (patch)
tree9fd1037c5814040f97717864ce8cb9575920ac6d /include/target
parenttarget: Add transport_reset_sgl_orig() for COMPARE_AND_WRITE (diff)
downloadlinux-76dde50ebef75773ea2b68e0bf914e87e6a3711c.tar.xz
linux-76dde50ebef75773ea2b68e0bf914e87e6a3711c.zip
target: Make __target_execute_cmd() available as extern
Required by COMPARE_AND_WRITE for write instance user-data submission, in order to bypass target_execute_cmd() checks. Reported-by: Christoph Hellwig <hch@lst.de> Cc: Roland Dreier <roland@purestorage.com> Cc: Nicholas Bellinger <nab@linux-iscsi.org> Signed-off-by: Nicholas Bellinger <nab@daterainc.com>
Diffstat (limited to 'include/target')
-rw-r--r--include/target/target_core_fabric.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/target/target_core_fabric.h b/include/target/target_core_fabric.h
index d559c36692af..192eb52684e9 100644
--- a/include/target/target_core_fabric.h
+++ b/include/target/target_core_fabric.h
@@ -134,6 +134,7 @@ int core_tmr_alloc_req(struct se_cmd *, void *, u8, gfp_t);
void core_tmr_release_req(struct se_tmr_req *);
int transport_generic_handle_tmr(struct se_cmd *);
void transport_generic_request_failure(struct se_cmd *, sense_reason_t);
+void __target_execute_cmd(struct se_cmd *);
int transport_lookup_tmr_lun(struct se_cmd *, u32);
struct se_node_acl *core_tpg_check_initiator_node_acl(struct se_portal_group *,