diff options
author | Christoph Hellwig <hch@infradead.org> | 2012-10-07 10:55:52 -0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2012-11-06 23:55:44 -0500 |
commit | 8de530a523fd3cc46b5d8d96f3016298c5c808ac (patch) | |
tree | 1a1fee222c4e5c834023d871363aea9ee49cc41b /include/target | |
parent | d1b1f8053401aaf1dfe636afa6d361301e3ae8b7 (diff) |
target/pscsi: call spc_emulate_report_luns directly
No need to indirect through spc_parse_cdb if we only ever call it for
REPORT LUNS emulation.
(nab: Add missing EXPORT_SYMBOL for spc_emulate_report_luns)
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'include/target')
-rw-r--r-- | include/target/target_core_backend.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/target/target_core_backend.h b/include/target/target_core_backend.h index 1c43955f4cb5..e7a03056c957 100644 --- a/include/target/target_core_backend.h +++ b/include/target/target_core_backend.h | |||
@@ -52,6 +52,7 @@ void target_complete_cmd(struct se_cmd *, u8); | |||
52 | 52 | ||
53 | int sbc_parse_cdb(struct se_cmd *cmd, struct sbc_ops *ops); | 53 | int sbc_parse_cdb(struct se_cmd *cmd, struct sbc_ops *ops); |
54 | int spc_parse_cdb(struct se_cmd *cmd, unsigned int *size); | 54 | int spc_parse_cdb(struct se_cmd *cmd, unsigned int *size); |
55 | int spc_emulate_report_luns(struct se_cmd *cmd); | ||
55 | int spc_get_write_same_sectors(struct se_cmd *cmd); | 56 | int spc_get_write_same_sectors(struct se_cmd *cmd); |
56 | 57 | ||
57 | void transport_set_vpd_proto_id(struct t10_vpd *, unsigned char *); | 58 | void transport_set_vpd_proto_id(struct t10_vpd *, unsigned char *); |