@@ -385,9 +385,9 @@ static struct config_group *target_fabric_make_mappedlun(
385385 }
386386
387387 config_group_init_type_name (& lacl -> se_lun_group , name ,
388- & TF_CIT_TMPL ( tf ) -> tfc_tpg_mappedlun_cit );
388+ & tf -> tf_cit_tmpl . tfc_tpg_mappedlun_cit );
389389 config_group_init_type_name (& lacl -> ml_stat_grps .stat_group ,
390- "statistics" , & TF_CIT_TMPL ( tf ) -> tfc_tpg_mappedlun_stat_cit );
390+ "statistics" , & tf -> tf_cit_tmpl . tfc_tpg_mappedlun_stat_cit );
391391 lacl_cg -> default_groups [0 ] = & lacl -> ml_stat_grps .stat_group ;
392392 lacl_cg -> default_groups [1 ] = NULL ;
393393
@@ -504,16 +504,16 @@ static struct config_group *target_fabric_make_nodeacl(
504504 nacl_cg -> default_groups [4 ] = NULL ;
505505
506506 config_group_init_type_name (& se_nacl -> acl_group , name ,
507- & TF_CIT_TMPL ( tf ) -> tfc_tpg_nacl_base_cit );
507+ & tf -> tf_cit_tmpl . tfc_tpg_nacl_base_cit );
508508 config_group_init_type_name (& se_nacl -> acl_attrib_group , "attrib" ,
509- & TF_CIT_TMPL ( tf ) -> tfc_tpg_nacl_attrib_cit );
509+ & tf -> tf_cit_tmpl . tfc_tpg_nacl_attrib_cit );
510510 config_group_init_type_name (& se_nacl -> acl_auth_group , "auth" ,
511- & TF_CIT_TMPL ( tf ) -> tfc_tpg_nacl_auth_cit );
511+ & tf -> tf_cit_tmpl . tfc_tpg_nacl_auth_cit );
512512 config_group_init_type_name (& se_nacl -> acl_param_group , "param" ,
513- & TF_CIT_TMPL ( tf ) -> tfc_tpg_nacl_param_cit );
513+ & tf -> tf_cit_tmpl . tfc_tpg_nacl_param_cit );
514514 config_group_init_type_name (& se_nacl -> acl_fabric_stat_group ,
515515 "fabric_statistics" ,
516- & TF_CIT_TMPL ( tf ) -> tfc_tpg_nacl_stat_cit );
516+ & tf -> tf_cit_tmpl . tfc_tpg_nacl_stat_cit );
517517
518518 return & se_nacl -> acl_group ;
519519}
@@ -595,7 +595,7 @@ static struct config_group *target_fabric_make_np(
595595
596596 se_tpg_np -> tpg_np_parent = se_tpg ;
597597 config_group_init_type_name (& se_tpg_np -> tpg_np_group , name ,
598- & TF_CIT_TMPL ( tf ) -> tfc_tpg_np_base_cit );
598+ & tf -> tf_cit_tmpl . tfc_tpg_np_base_cit );
599599
600600 return & se_tpg_np -> tpg_np_group ;
601601}
@@ -899,9 +899,9 @@ static struct config_group *target_fabric_make_lun(
899899 }
900900
901901 config_group_init_type_name (& lun -> lun_group , name ,
902- & TF_CIT_TMPL ( tf ) -> tfc_tpg_port_cit );
902+ & tf -> tf_cit_tmpl . tfc_tpg_port_cit );
903903 config_group_init_type_name (& lun -> port_stat_grps .stat_group ,
904- "statistics" , & TF_CIT_TMPL ( tf ) -> tfc_tpg_port_stat_cit );
904+ "statistics" , & tf -> tf_cit_tmpl . tfc_tpg_port_stat_cit );
905905 lun_cg -> default_groups [0 ] = & lun -> port_stat_grps .stat_group ;
906906 lun_cg -> default_groups [1 ] = NULL ;
907907
@@ -1056,19 +1056,19 @@ static struct config_group *target_fabric_make_tpg(
10561056 se_tpg -> tpg_group .default_groups [6 ] = NULL ;
10571057
10581058 config_group_init_type_name (& se_tpg -> tpg_group , name ,
1059- & TF_CIT_TMPL ( tf ) -> tfc_tpg_base_cit );
1059+ & tf -> tf_cit_tmpl . tfc_tpg_base_cit );
10601060 config_group_init_type_name (& se_tpg -> tpg_lun_group , "lun" ,
1061- & TF_CIT_TMPL ( tf ) -> tfc_tpg_lun_cit );
1061+ & tf -> tf_cit_tmpl . tfc_tpg_lun_cit );
10621062 config_group_init_type_name (& se_tpg -> tpg_np_group , "np" ,
1063- & TF_CIT_TMPL ( tf ) -> tfc_tpg_np_cit );
1063+ & tf -> tf_cit_tmpl . tfc_tpg_np_cit );
10641064 config_group_init_type_name (& se_tpg -> tpg_acl_group , "acls" ,
1065- & TF_CIT_TMPL ( tf ) -> tfc_tpg_nacl_cit );
1065+ & tf -> tf_cit_tmpl . tfc_tpg_nacl_cit );
10661066 config_group_init_type_name (& se_tpg -> tpg_attrib_group , "attrib" ,
1067- & TF_CIT_TMPL ( tf ) -> tfc_tpg_attrib_cit );
1067+ & tf -> tf_cit_tmpl . tfc_tpg_attrib_cit );
10681068 config_group_init_type_name (& se_tpg -> tpg_auth_group , "auth" ,
1069- & TF_CIT_TMPL ( tf ) -> tfc_tpg_auth_cit );
1069+ & tf -> tf_cit_tmpl . tfc_tpg_auth_cit );
10701070 config_group_init_type_name (& se_tpg -> tpg_param_group , "param" ,
1071- & TF_CIT_TMPL ( tf ) -> tfc_tpg_param_cit );
1071+ & tf -> tf_cit_tmpl . tfc_tpg_param_cit );
10721072
10731073 return & se_tpg -> tpg_group ;
10741074}
@@ -1155,9 +1155,9 @@ static struct config_group *target_fabric_make_wwn(
11551155 wwn -> wwn_group .default_groups [1 ] = NULL ;
11561156
11571157 config_group_init_type_name (& wwn -> wwn_group , name ,
1158- & TF_CIT_TMPL ( tf ) -> tfc_tpg_cit );
1158+ & tf -> tf_cit_tmpl . tfc_tpg_cit );
11591159 config_group_init_type_name (& wwn -> fabric_stat_group , "fabric_statistics" ,
1160- & TF_CIT_TMPL ( tf ) -> tfc_wwn_fabric_stats_cit );
1160+ & tf -> tf_cit_tmpl . tfc_wwn_fabric_stats_cit );
11611161
11621162 return & wwn -> wwn_group ;
11631163}
0 commit comments