summaryrefslogtreecommitdiffstats
path: root/drivers/target
diff options
context:
space:
mode:
authorNicholas Bellinger <nab@daterainc.com>2013-08-21 16:04:10 -0700
committerNicholas Bellinger <nab@linux-iscsi.org>2013-09-09 14:29:34 -0700
commit76dde50ebef75773ea2b68e0bf914e87e6a3711c (patch)
tree9fd1037c5814040f97717864ce8cb9575920ac6d /drivers/target
parent47e459e622f07c2564e6be8412d75389d2a807b8 (diff)
downloadblackbird-op-linux-76dde50ebef75773ea2b68e0bf914e87e6a3711c.tar.gz
blackbird-op-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 'drivers/target')
-rw-r--r--drivers/target/target_core_transport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/target/target_core_transport.c b/drivers/target/target_core_transport.c
index 87d64add7874..672cb37a43c5 100644
--- a/drivers/target/target_core_transport.c
+++ b/drivers/target/target_core_transport.c
@@ -1626,7 +1626,7 @@ queue_full:
}
EXPORT_SYMBOL(transport_generic_request_failure);
-static void __target_execute_cmd(struct se_cmd *cmd)
+void __target_execute_cmd(struct se_cmd *cmd)
{
sense_reason_t ret;
OpenPOWER on IntegriCloud