summaryrefslogtreecommitdiffstats
path: root/drivers/target/target_core_internal.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2012-05-20 11:59:13 -0400
committerNicholas Bellinger <nab@linux-iscsi.org>2012-06-12 17:52:07 -0700
commit9dac90988a2a8683530064b2fe7c941e736cb95f (patch)
tree1d5373f1769fdc32f07e5f0cfecfd97f7c9e3f72 /drivers/target/target_core_internal.h
parent8d7e1b8e565603754eedb3d74b776eac2be0d70d (diff)
downloadlinux-9dac90988a2a8683530064b2fe7c941e736cb95f.tar.gz
linux-9dac90988a2a8683530064b2fe7c941e736cb95f.tar.xz
linux-9dac90988a2a8683530064b2fe7c941e736cb95f.zip
target: split parsing of SPC commands into a separate helper
(nab: Add EXPORT_SYMBOL usage for spc_parse_cdb) Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/target_core_internal.h')
-rw-r--r--drivers/target/target_core_internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/target/target_core_internal.h b/drivers/target/target_core_internal.h
index 165e82429687..6bbf18dc9e0d 100644
--- a/drivers/target/target_core_internal.h
+++ b/drivers/target/target_core_internal.h
@@ -96,6 +96,9 @@ int core_tpg_post_addlun(struct se_portal_group *, struct se_lun *,
struct se_lun *core_tpg_pre_dellun(struct se_portal_group *, u32 unpacked_lun);
int core_tpg_post_dellun(struct se_portal_group *, struct se_lun *);
+/* target_core_spc.c */
+int spc_parse_cdb(struct se_cmd *cmd, unsigned int *size, bool passthrough);
+
/* target_core_transport.c */
extern struct kmem_cache *se_tmr_req_cache;