diff options
author | Christoph Hellwig <hch@infradead.org> | 2012-05-20 11:59:13 -0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2012-07-16 20:25:56 -0400 |
commit | 88455ec4be02c395820b1ff57656b0844ec03ac3 (patch) | |
tree | 3f8a7feda6180fea2e0aa832014d743dee853441 /drivers/target/target_core_internal.h | |
parent | 9b3b804101db067c3889948f57031f852186ea11 (diff) |
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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/target/target_core_internal.h b/drivers/target/target_core_internal.h index 165e8242968..6bbf18dc9e0 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 *, | |||
96 | struct se_lun *core_tpg_pre_dellun(struct se_portal_group *, u32 unpacked_lun); | 96 | struct se_lun *core_tpg_pre_dellun(struct se_portal_group *, u32 unpacked_lun); |
97 | int core_tpg_post_dellun(struct se_portal_group *, struct se_lun *); | 97 | int core_tpg_post_dellun(struct se_portal_group *, struct se_lun *); |
98 | 98 | ||
99 | /* target_core_spc.c */ | ||
100 | int spc_parse_cdb(struct se_cmd *cmd, unsigned int *size, bool passthrough); | ||
101 | |||
99 | /* target_core_transport.c */ | 102 | /* target_core_transport.c */ |
100 | extern struct kmem_cache *se_tmr_req_cache; | 103 | extern struct kmem_cache *se_tmr_req_cache; |
101 | 104 | ||