From: Nicholas Bellinger Date: Fri, 28 Nov 2014 02:57:27 +0000 (-0800) Subject: target: Add target_core_backend_configfs.h helper macros X-Git-Tag: omap-for-v3.20/drop-legacy-3517~16^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a23f890b7c11b63dfc2a6c7ae1f0a631ed84865;p=pandora-kernel.git 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 --- Reading git-diff-tree failed