summaryrefslogtreecommitdiff
path: root/drivers/target/target_core_configfs.c
diff options
context:
space:
mode:
authorNicholas Bellinger <nab@linux-iscsi.org>2014-11-28 05:26:18 (GMT)
committerNicholas Bellinger <nab@linux-iscsi.org>2014-12-02 05:36:03 (GMT)
commit6cfb546bfce644bd4fb6662a5049a73406f655c9 (patch)
tree3cdbb64defd1831941047982f4afa0c95a74907c /drivers/target/target_core_configfs.c
parente9f720d63b476c9dc2a936c186878f1795b8b4c5 (diff)
downloadlinux-6cfb546bfce644bd4fb6662a5049a73406f655c9.tar.xz
target/pscsi: Convert to external pscsi_backend_dev_attrs
This patch converts PSCSI 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 for hw_pi_prot_type, hw_block_size, hw_max_sectors, hw_queue_depth populates pscsi_backend_dev_attrs[] Only these four hw_* read-only device attributes are exports for PSCSI. Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/target_core_configfs.c')
0 files changed, 0 insertions, 0 deletions