summaryrefslogtreecommitdiffstats
path: root/drivers/target/target_core_device.c
diff options
context:
space:
mode:
authorNicholas Bellinger2014-11-28 03:57:27 +0100
committerNicholas Bellinger2014-12-02 06:35:40 +0100
commit7a23f890b7c11b63dfc2a6c7ae1f0a631ed84865 (patch)
tree0146bf041a4ab32fccf639be9ead638d2b41ea72 /drivers/target/target_core_device.c
parenttarget: Move dev_stat_cit to struct se_subsystem_api (diff)
downloadkernel-qcow2-linux-7a23f890b7c11b63dfc2a6c7ae1f0a631ed84865.tar.gz
kernel-qcow2-linux-7a23f890b7c11b63dfc2a6c7ae1f0a631ed84865.tar.xz
kernel-qcow2-linux-7a23f890b7c11b63dfc2a6c7ae1f0a631ed84865.zip
target: Add target_core_backend_configfs.h helper macros
This patch adds a number of configfs e-attr macros following what existing target_core_configfs.c code does for internal target_backend_dev_attrib setup, and similar to how target fabric drivers allow for external config_item_type + cit->ct_attrs. assignment. This is useful for backend drivers like PSCSI who need to only expose a small subset of device attributes, while still retaining a default list of attributes for other backend drivers like IBLOCK, FILEIO, RAMDISK, and TCMU. Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/target_core_device.c')
0 files changed, 0 insertions, 0 deletions