scsi: target: add device vendor_id configfs attribute
authorDavid Disseldorp <ddiss@suse.de>
Wed, 5 Dec 2018 12:18:36 +0000 (13:18 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 8 Dec 2018 02:54:33 +0000 (21:54 -0500)
commit54a6f3f6a43cf5a5ad0421e4440a4c7095e7a223
tree149939ec1898b3d300530c2906819426ded99a7e
parentb2da4abf26e859c6c17b49f6f728db0eaab9bc4a
scsi: target: add device vendor_id configfs attribute

The vendor_id attribute will allow for the modification of the T10 Vendor
Identification string returned in inquiry responses. Its value can be
viewed and modified via the ConfigFS path at:

target/core/$backstore/$name/wwn/vendor_id

"LIO-ORG" remains the default value, which is set when the backstore device
is enabled.

[mkp: corrected VPD page number]

Signed-off-by: David Disseldorp <ddiss@suse.de>
Reviewed-by: Roman Bolshakov <r.bolshakov@yadro.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/target/target_core_configfs.c