summaryrefslogtreecommitdiffstats
path: root/fs/overlayfs/super.c
diff options
context:
space:
mode:
authorHannes Reinecke2015-12-01 10:16:56 +0100
committerMartin K. Petersen2015-12-02 22:42:13 +0100
commit248d4fe95f232010846bc648ce92e40b07544c5d (patch)
tree3f8402f1a3fc060ddac3f02a5edb6a018dc62e33 /fs/overlayfs/super.c
parentscsi: Add scsi_vpd_lun_id() (diff)
downloadkernel-qcow2-linux-248d4fe95f232010846bc648ce92e40b07544c5d.tar.gz
kernel-qcow2-linux-248d4fe95f232010846bc648ce92e40b07544c5d.tar.xz
kernel-qcow2-linux-248d4fe95f232010846bc648ce92e40b07544c5d.zip
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>
Diffstat (limited to 'fs/overlayfs/super.c')
0 files changed, 0 insertions, 0 deletions