diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-11-27 19:15:48 -0800 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-12-01 21:36:02 -0800 |
commit | d30cd1238c2f89662c82d5d2c4686971a6dc3693 (patch) | |
tree | ba84502c9363e71d3089f1522af3e1e91603d4f9 /drivers/target/target_core_iblock.c | |
parent | target: Add target_core_backend_configfs.h helper macros (diff) | |
download | linux-dev-d30cd1238c2f89662c82d5d2c4686971a6dc3693.tar.xz linux-dev-d30cd1238c2f89662c82d5d2c4686971a6dc3693.zip |
target: Add EXPORT_SYMBOL for existing se_dev_set_*
Now that target_core_backend_configfs.h macros will be using these
se_dev_set attribute functions externally to allow backend drivers
to populate different attributes, go ahead and add EXPORT_SYMBOL()
for the existing default set of 30 device attributes.
Also update target_core_backend.h with proper function prototypes.
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/target_core_iblock.c')
-rw-r--r-- | drivers/target/target_core_iblock.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/target/target_core_iblock.c b/drivers/target/target_core_iblock.c index 7e6b857c6b3f..5e69d36af105 100644 --- a/drivers/target/target_core_iblock.c +++ b/drivers/target/target_core_iblock.c @@ -858,6 +858,7 @@ static bool iblock_get_write_cache(struct se_device *dev) return q->flush_flags & REQ_FLUSH; } + static struct se_subsystem_api iblock_template = { .name = "iblock", .inquiry_prod = "IBLOCK", |