aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorNicholas Bellinger <nab@daterainc.com>2013-08-20 20:02:21 -0400
committerNicholas Bellinger <nab@linux-iscsi.org>2013-09-10 19:48:37 -0400
commit68366026a57645f90146796c95214087da5f1f6d (patch)
tree8f0f34cc92bb905d0c53f620b83c6e675722d12d /drivers
parent56d128fa773c4ebfc1b806cb8143fb9d9647ba64 (diff)
target: Make spc_parse_naa_6h_vendor_specific non static
This patch makes spc_parse_naa_6h_vendor_specific() available to other target code, which is required by EXTENDED_COPY when comparing the received NAA WWN device identifer for locating the associated se_device backend. 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')
-rw-r--r--drivers/target/target_core_spc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/target/target_core_spc.c b/drivers/target/target_core_spc.c
index ed7077a67d7b..bd16a93a7a3f 100644
--- a/drivers/target/target_core_spc.c
+++ b/drivers/target/target_core_spc.c
@@ -126,8 +126,8 @@ spc_emulate_evpd_80(struct se_cmd *cmd, unsigned char *buf)
126 return 0; 126 return 0;
127} 127}
128 128
129static void spc_parse_naa_6h_vendor_specific(struct se_device *dev, 129void spc_parse_naa_6h_vendor_specific(struct se_device *dev,
130 unsigned char *buf) 130 unsigned char *buf)
131{ 131{
132 unsigned char *p = &dev->t10_wwn.unit_serial[0]; 132 unsigned char *p = &dev->t10_wwn.unit_serial[0];
133 int cnt; 133 int cnt;