scsi: rescan VPD attributes
authorHannes Reinecke <hare@suse.de>
Mon, 9 Nov 2015 12:24:28 +0000 (13:24 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 30 Nov 2015 16:23:45 +0000 (11:23 -0500)
commit09e2b0b14690fb13ccfc04af49f156df3e25b152
tree4643ba86b1896df0b6a119416f31db4d4da0851b
parentfe0798c5e150be8f06959250076d3864477e74c2
scsi: rescan VPD attributes

The VPD page information might change, so we need to be able to update
it. This patch implements a VPD page rescan whenever the 'rescan' sysfs
attribute is triggered.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Shane Seymour <shane.seymour@hpe.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/scsi.c
drivers/scsi/scsi_scan.c
drivers/scsi/scsi_sysfs.c
drivers/scsi/ses.c
include/scsi/scsi_device.h