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 /drivers/target/target_core_iblock.c | |
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 'drivers/target/target_core_iblock.c')
-rw-r--r-- | drivers/target/target_core_iblock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/target/target_core_iblock.c b/drivers/target/target_core_iblock.c index dd6cd92cd9d8..969eed8bff52 100644 --- a/drivers/target/target_core_iblock.c +++ b/drivers/target/target_core_iblock.c | |||
@@ -709,7 +709,7 @@ static void iblock_bio_done(struct bio *bio, int err) | |||
709 | iblock_complete_cmd(cmd); | 709 | iblock_complete_cmd(cmd); |
710 | } | 710 | } |
711 | 711 | ||
712 | static struct spc_ops iblock_spc_ops = { | 712 | static struct sbc_ops iblock_sbc_ops = { |
713 | .execute_rw = iblock_execute_rw, | 713 | .execute_rw = iblock_execute_rw, |
714 | .execute_sync_cache = iblock_execute_sync_cache, | 714 | .execute_sync_cache = iblock_execute_sync_cache, |
715 | .execute_write_same = iblock_execute_write_same, | 715 | .execute_write_same = iblock_execute_write_same, |
@@ -718,7 +718,7 @@ static struct spc_ops iblock_spc_ops = { | |||
718 | 718 | ||
719 | static int iblock_parse_cdb(struct se_cmd *cmd) | 719 | static int iblock_parse_cdb(struct se_cmd *cmd) |
720 | { | 720 | { |
721 | return sbc_parse_cdb(cmd, &iblock_spc_ops); | 721 | return sbc_parse_cdb(cmd, &iblock_sbc_ops); |
722 | } | 722 | } |
723 | 723 | ||
724 | static struct se_subsystem_api iblock_template = { | 724 | static struct se_subsystem_api iblock_template = { |