]> www.infradead.org Git - users/jedix/linux-maple.git/commit
target: consolidate backend attribute implementations
authorChristoph Hellwig <hch@lst.de>
Sun, 10 May 2015 16:14:57 +0000 (18:14 +0200)
committerChuck Anderson <chuck.anderson@oracle.com>
Sun, 28 May 2017 02:43:52 +0000 (19:43 -0700)
commitb2ed454c4e3140845e8e1c5b820d49a32a735529
tree64d710742bb4fe4c4de2b8be0613ee7e5a9df15e
parente297eea82a9b8ed8d724df8da34486700038a619
target: consolidate backend attribute implementations

Orabug: 25791789

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>
(cherry picked from commit 5873c4d157400ade4052e9d7b6259fa592e1ddbf)
Reviewed-by: Ethan Zhao <ethan.zhao@oracle.com>
Signed-off-by: Shan Hai <shan.hai@oracle.com>
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]