]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
target: consolidate backend attribute implementations
authorChristoph Hellwig <hch@lst.de>
Sun, 10 May 2015 16:14:57 +0000 (18:14 +0200)
committerNicholas Bellinger <nab@linux-iscsi.org>
Mon, 1 Jun 2015 07:25:36 +0000 (00:25 -0700)
commit5873c4d157400ade4052e9d7b6259fa592e1ddbf
tree3e8f9d0a3bde7659a1b3169158b68108ee55ca7f
parent0a06d4309dc168dfa70cec3cf0cd9eb7fc15a2fd
target: consolidate backend attribute implementations

Provide a common sets of dev_attrib attributes for all devices using the
generic SPC/SBC parsers, and a second one with the minimal required read-only
attributes for passthrough devices.  The later is only used by pscsi for now,
but will be wired up for the full-passthrough TCMU use case as well.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_configfs.c
drivers/target/target_core_file.c
drivers/target/target_core_iblock.c
drivers/target/target_core_pscsi.c
drivers/target/target_core_rd.c
drivers/target/target_core_user.c
include/target/target_core_backend.h
include/target/target_core_backend_configfs.h [deleted file]