diff options
author | Roland Dreier <roland@purestorage.com> | 2013-02-22 12:52:57 -0500 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-02-23 15:46:14 -0500 |
commit | 972b29c8f86093f44e1d781588bd5c5faae3d8e3 (patch) | |
tree | b5da94cd21ebd5486cefbde45cfadb9cfc475442 /include | |
parent | 7b745c84a9f4ad62db4b67053fbceb5d706451af (diff) |
target: Rename spc_get_write_same_sectors -> sbc_get_write_same_sectors
Trivial, but WRITE SAME is an SBC command so it seems strange for a
related function (defined in target_core_sbc.c) to be in the spc_
namespace.
Signed-off-by: Roland Dreier <roland@purestorage.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/target/target_core_backend.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/target/target_core_backend.h b/include/target/target_core_backend.h index f9a80169775d..b128c20770bc 100644 --- a/include/target/target_core_backend.h +++ b/include/target/target_core_backend.h | |||
@@ -53,13 +53,13 @@ void target_complete_cmd(struct se_cmd *, u8); | |||
53 | 53 | ||
54 | sense_reason_t spc_parse_cdb(struct se_cmd *cmd, unsigned int *size); | 54 | sense_reason_t spc_parse_cdb(struct se_cmd *cmd, unsigned int *size); |
55 | sense_reason_t spc_emulate_report_luns(struct se_cmd *cmd); | 55 | sense_reason_t spc_emulate_report_luns(struct se_cmd *cmd); |
56 | sector_t spc_get_write_same_sectors(struct se_cmd *cmd); | ||
57 | sense_reason_t spc_emulate_inquiry_std(struct se_cmd *, unsigned char *); | 56 | sense_reason_t spc_emulate_inquiry_std(struct se_cmd *, unsigned char *); |
58 | sense_reason_t spc_emulate_evpd_83(struct se_cmd *, unsigned char *); | 57 | sense_reason_t spc_emulate_evpd_83(struct se_cmd *, unsigned char *); |
59 | 58 | ||
60 | sense_reason_t sbc_parse_cdb(struct se_cmd *cmd, struct sbc_ops *ops); | 59 | sense_reason_t sbc_parse_cdb(struct se_cmd *cmd, struct sbc_ops *ops); |
61 | u32 sbc_get_device_rev(struct se_device *dev); | 60 | u32 sbc_get_device_rev(struct se_device *dev); |
62 | u32 sbc_get_device_type(struct se_device *dev); | 61 | u32 sbc_get_device_type(struct se_device *dev); |
62 | sector_t sbc_get_write_same_sectors(struct se_cmd *cmd); | ||
63 | 63 | ||
64 | void transport_set_vpd_proto_id(struct t10_vpd *, unsigned char *); | 64 | void transport_set_vpd_proto_id(struct t10_vpd *, unsigned char *); |
65 | int transport_set_vpd_assoc(struct t10_vpd *, unsigned char *); | 65 | int transport_set_vpd_assoc(struct t10_vpd *, unsigned char *); |