target: don't copy fabric ops
[deliverable/linux.git] / drivers / target / target_core_configfs.c
index 86caeb26f99609a114583f282fee475fee98c967..43c9ed1d1b921dd879d5da3ca1d71f83c58a2573 100644 (file)
@@ -444,7 +444,7 @@ int target_register_template(const struct target_core_fabric_ops *fo)
        tf->tf_module = fo->module;
        snprintf(tf->tf_name, TARGET_FABRIC_NAME_SIZE, "%s", fo->name);
 
-       tf->tf_ops = *fo;
+       tf->tf_ops = fo;
        target_fabric_setup_cits(tf);
 
        mutex_lock(&g_tf_lock);
This page took 0.025689 seconds and 5 git commands to generate.