Searched hist:"248 d4fe95f232010846bc648ce92e40b07544c5d" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/scsi/ |
H A D | scsi_sysfs.c | diff 248d4fe95f232010846bc648ce92e40b07544c5d Tue Dec 01 03:16:56 CST 2015 Hannes Reinecke <hare@suse.de> scsi: export 'wwid' to sysfs
Use scsi_vpd_lun_id() to export the world-wide unique id (wwid) to sysfs. Note that this is the 'best' wwid according to the rules in scsi_vpd_lun_id(), not every possible wwid presented by the drive.
Signed-off-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
|