aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/target
diff options
context:
space:
mode:
authorNicholas Bellinger <nab@linux-iscsi.org>2014-11-27 19:49:36 -0800
committerNicholas Bellinger <nab@linux-iscsi.org>2014-12-01 21:36:02 -0800
commite6c39f703a878b8d9427ca7b4dc8f97874d12ae6 (patch)
tree8c85860745e9328f85f23e16f3fdce9cd18853f1 /drivers/target
parenttarget: Add EXPORT_SYMBOL for existing se_dev_set_* (diff)
downloadlinux-dev-e6c39f703a878b8d9427ca7b4dc8f97874d12ae6.tar.xz
linux-dev-e6c39f703a878b8d9427ca7b4dc8f97874d12ae6.zip
target: Add DEF_TB_DEFAULT_ATTRIBS macro for virtual device attrs
This helper macro adds the default set of 30 device attributes for virtual devices from existing target_core_configfs.c code, and moves the definitions into a single macro to create the structs necessary for backend drivers. It allows them to populate their own external struct configfs_attribute for se_subsystem_api->tb_cits.tb_dev_attrib_cit.ct_attrs. Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target')
0 files changed, 0 insertions, 0 deletions