diff options
author | Nicholas Bellinger <nab@daterainc.com> | 2013-08-22 14:58:43 -0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-09-10 19:48:39 -0400 |
commit | c5ff8d6bc3ebc363d77d71791080fefb07ae9017 (patch) | |
tree | 127dd92908ec56b3dddf5eae1c77f636fa818bc4 /drivers/target | |
parent | 68366026a57645f90146796c95214087da5f1f6d (diff) |
target: Make helpers non static for EXTENDED_COPY command setup
Both target_alloc_sgl() and transport_generic_map_mem_to_cmd() are
required by EXTENDED_COPY logic when setting up internally dispatched
command descriptors, so go ahead and make both of these non static.
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Martin Petersen <martin.petersen@oracle.com>
Cc: Chris Mason <chris.mason@fusionio.com>
Cc: Roland Dreier <roland@purestorage.com>
Cc: Zach Brown <zab@redhat.com>
Cc: James Bottomley <JBottomley@Parallels.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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/target/target_core_transport.c b/drivers/target/target_core_transport.c index bcbc3d397bad..c57d49264852 100644 --- a/drivers/target/target_core_transport.c +++ b/drivers/target/target_core_transport.c | |||
@@ -1253,7 +1253,7 @@ int transport_handle_cdb_direct( | |||
1253 | } | 1253 | } |
1254 | EXPORT_SYMBOL(transport_handle_cdb_direct); | 1254 | EXPORT_SYMBOL(transport_handle_cdb_direct); |
1255 | 1255 | ||
1256 | static sense_reason_t | 1256 | sense_reason_t |
1257 | transport_generic_map_mem_to_cmd(struct se_cmd *cmd, struct scatterlist *sgl, | 1257 | transport_generic_map_mem_to_cmd(struct se_cmd *cmd, struct scatterlist *sgl, |
1258 | u32 sgl_count, struct scatterlist *sgl_bidi, u32 sgl_bidi_count) | 1258 | u32 sgl_count, struct scatterlist *sgl_bidi, u32 sgl_bidi_count) |
1259 | { | 1259 | { |
@@ -2117,7 +2117,7 @@ void transport_kunmap_data_sg(struct se_cmd *cmd) | |||
2117 | } | 2117 | } |
2118 | EXPORT_SYMBOL(transport_kunmap_data_sg); | 2118 | EXPORT_SYMBOL(transport_kunmap_data_sg); |
2119 | 2119 | ||
2120 | static int | 2120 | int |
2121 | target_alloc_sgl(struct scatterlist **sgl, unsigned int *nents, u32 length, | 2121 | target_alloc_sgl(struct scatterlist **sgl, unsigned int *nents, u32 length, |
2122 | bool zero_page) | 2122 | bool zero_page) |
2123 | { | 2123 | { |