• N
    target: Move dev_cit to struct se_subsystem_api · 73112edc
    Nicholas Bellinger 提交于
    This patch adds initial support for dev_cit as external config_item_type.
    
    This includes a new struct target_backend_cits to hold the external CITs
    within struct se_subsystem_api, and target_core_setup_sub_cits() to be
    used by backend drivers ahead of transport_subsystem_register().
    
    It adds a TB_CIT_SETUP() helper following target_core_fabric_configfs.c
    to perform the config_item_type assignments.
    
    Also, drop left-over target_core_dev_cit from target_core_configfs.c code
    and update comments.
    Signed-off-by: NNicholas Bellinger <nab@linux-iscsi.org>
    73112edc
target_core_configfs.c 89.4 KB