summaryrefslogtreecommitdiffstats
path: root/drivers/target/target_core_device.c
diff options
context:
space:
mode:
authorNicholas Bellinger <nab@linux-iscsi.org>2014-11-27 18:57:27 -0800
committerNicholas Bellinger <nab@linux-iscsi.org>2014-12-01 21:35:40 -0800
commit7a23f890b7c11b63dfc2a6c7ae1f0a631ed84865 (patch)
tree0146bf041a4ab32fccf639be9ead638d2b41ea72 /drivers/target/target_core_device.c
parentd23ab570bcb1de0256f1dcea0b8ad3af8e534e40 (diff)
downloadblackbird-obmc-linux-7a23f890b7c11b63dfc2a6c7ae1f0a631ed84865.tar.gz
blackbird-obmc-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
OpenPOWER on IntegriCloud