OSDN Git Service

[SCSI] hpsa: update device attributes when they change
authorScott Teel <scott.teel@hp.com>
Thu, 19 Jan 2012 20:01:30 +0000 (14:01 -0600)
committerJames Bottomley <JBottomley@Parallels.com>
Sun, 19 Feb 2012 14:08:57 +0000 (08:08 -0600)
commitbd9244f7b9508a5945dcbd015db334110a9cdecf
tree595b66138bf997b5d7d9d8326ffdda212ade0b9b
parent4f4eb9f1d8f8eb91d0dd486deafd4800b425f289
[SCSI] hpsa: update device attributes when they change

Certain types of changes to devices should not be interpreted as a device
change that would cause the device to be removed and re-added.  These include
RAID level and Firmware revision changes.  However, these attribute changes DO
need to be reflected in the controller info structure's dev structure list, so
that sysfs and /proc info files for the devices will reflect the new values.

Signed-off-by: Scott Teel <scott.stacy.teel@hp.com>
Acked-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/hpsa.c