diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-11-27 16:59:20 -0500 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-12-02 00:35:22 -0500 |
commit | 73112edca9be1d7c37d0b94348c82c3742c3ef58 (patch) | |
tree | c40004c13e5e3b107d491a909a543461c65f6197 /drivers/target/target_core_hba.c | |
parent | 2ed37f6c9b69092afbbf2a990336f8cbd303947d (diff) |
target: Move dev_cit to struct se_subsystem_api
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: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/target_core_hba.c')
-rw-r--r-- | drivers/target/target_core_hba.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/target/target_core_hba.c b/drivers/target/target_core_hba.c index e6e496ff9546..ff95f95dcd13 100644 --- a/drivers/target/target_core_hba.c +++ b/drivers/target/target_core_hba.c | |||
@@ -36,6 +36,7 @@ | |||
36 | #include <target/target_core_base.h> | 36 | #include <target/target_core_base.h> |
37 | #include <target/target_core_backend.h> | 37 | #include <target/target_core_backend.h> |
38 | #include <target/target_core_fabric.h> | 38 | #include <target/target_core_fabric.h> |
39 | #include <target/target_core_configfs.h> | ||
39 | 40 | ||
40 | #include "target_core_internal.h" | 41 | #include "target_core_internal.h" |
41 | 42 | ||