diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-11-27 19:53:28 -0800 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-12-01 21:36:02 -0800 |
commit | 5645cba011ddaf7dc46a636e5657bb764e11a472 (patch) | |
tree | ee3ef21c295d8a66c4e36a41019f068df8bd5b71 /drivers/target/target_core_file.c | |
parent | e6c39f703a878b8d9427ca7b4dc8f97874d12ae6 (diff) | |
download | linux-5645cba011ddaf7dc46a636e5657bb764e11a472.tar.bz2 |
target/iblock: Convert to external iblock_backend_dev_attrs
This patch converts IBLOCK to use an external set of device attributes,
and utilizes target_core_backend_configfs.h macros to generate a default
set of configfs extended-attr handlers.
It calls target_core_setup_sub_cits() to setup the initial config_item_type
based on existing target_core_configfs.c defaults, and using configfs_attribute
generated by DEF_TB_DEFAULT_ATTRIBS(iblock) populates iblock_backend_dev_attrs[]
It introduces no functional change for existing IBLOCK device attributes.
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/target_core_file.c')
0 files changed, 0 insertions, 0 deletions