diff options
author | Christoph Hellwig <hch@infradead.org> | 2012-10-07 10:55:50 -0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2012-11-06 23:55:44 -0500 |
commit | 9e999a6c51fe74a41a76038c64ce038ff9243bfb (patch) | |
tree | eb0f9cde2fe80fb491a9376bd92983ad7f921f43 /include/target | |
parent | 0fd97ccf45be26fb01b3a412f1f6c6b5044b2f16 (diff) |
target: rename spc_ops
These really are sbc_ops, so name them correctly.
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 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/target/target_core_backend.h b/include/target/target_core_backend.h index 6c5bfb5ac17f..1c43955f4cb5 100644 --- a/include/target/target_core_backend.h +++ b/include/target/target_core_backend.h | |||
@@ -38,7 +38,7 @@ struct se_subsystem_api { | |||
38 | unsigned char *(*get_sense_buffer)(struct se_cmd *); | 38 | unsigned char *(*get_sense_buffer)(struct se_cmd *); |
39 | }; | 39 | }; |
40 | 40 | ||
41 | struct spc_ops { | 41 | struct sbc_ops { |
42 | int (*execute_rw)(struct se_cmd *cmd); | 42 | int (*execute_rw)(struct se_cmd *cmd); |
43 | int (*execute_sync_cache)(struct se_cmd *cmd); | 43 | int (*execute_sync_cache)(struct se_cmd *cmd); |
44 | int (*execute_write_same)(struct se_cmd *cmd); | 44 | int (*execute_write_same)(struct se_cmd *cmd); |
@@ -50,7 +50,7 @@ void transport_subsystem_release(struct se_subsystem_api *); | |||
50 | 50 | ||
51 | void target_complete_cmd(struct se_cmd *, u8); | 51 | void target_complete_cmd(struct se_cmd *, u8); |
52 | 52 | ||
53 | int sbc_parse_cdb(struct se_cmd *cmd, struct spc_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_get_write_same_sectors(struct se_cmd *cmd); | 55 | int spc_get_write_same_sectors(struct se_cmd *cmd); |
56 | 56 | ||