diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-11-28 05:06:10 +0000 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-12-01 21:36:02 -0800 |
commit | 03a627457e8440fe09e173dcc7d59a7c0a202d03 (patch) | |
tree | 2bfc6fae4c37d2109380ee11120895396066640f /drivers/target/tcm_fc | |
parent | b23204970af2ce59c160f87f42baeacac33becb4 (diff) | |
download | blackbird-op-linux-03a627457e8440fe09e173dcc7d59a7c0a202d03.tar.gz blackbird-op-linux-03a627457e8440fe09e173dcc7d59a7c0a202d03.zip |
target/rd: Convert to external rd_mcp_backend_dev_attrs
This patch converts RAMDISK 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(rc_mcp) populates rd_mcp_backend_dev_attrs[]
It introduces no functional change for existing RD_MCP device attributes.
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/tcm_fc')
0 files changed, 0 insertions, 0 deletions