From: Nicholas Bellinger Date: Fri, 28 Nov 2014 03:53:28 +0000 (-0800) Subject: target/iblock: Convert to external iblock_backend_dev_attrs X-Git-Tag: omap-for-v3.20/drop-legacy-3517~16^2~41 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5645cba011ddaf7dc46a636e5657bb764e11a472;p=pandora-kernel.git target/iblock: Convert to external iblock_backend_dev_attrs This patch converts IBLOCK 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(iblock) populates iblock_backend_dev_attrs[] It introduces no functional change for existing IBLOCK device attributes. Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed