summaryrefslogtreecommitdiff
path: root/include/target
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2015-05-03 08:50:53 +0200
committerNicholas Bellinger <nab@linux-iscsi.org>2015-05-30 22:42:37 -0700
commitef0caf8dd149992796ee453b65dd0d77ff848f57 (patch)
treecf0c3b5317f3b22d3caa75d71cade943133b6de4 /include/target
parent45fb94c2925fc7d9b170f2d148f91556428eaa1d (diff)
target: don't copy fabric ops
Now that we don't need to set up ->tf_subsys we don't need to copy around the ops vector anymore. 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_configfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/target/target_core_configfs.h b/include/target/target_core_configfs.h
index b99c01170392..10402e5526e7 100644
--- a/include/target/target_core_configfs.h
+++ b/include/target/target_core_configfs.h
@@ -42,7 +42,7 @@ struct target_fabric_configfs {
struct config_item_type *tf_fabric_cit;
/* Pointer to fabric's struct module */
struct module *tf_module;
- struct target_core_fabric_ops tf_ops;
+ const struct target_core_fabric_ops *tf_ops;
struct target_fabric_configfs_template tf_cit_tmpl;
};