]> www.infradead.org Git - users/jedix/linux-maple.git/commit
[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)
committerJoe Jin <joe.jin@oracle.com>
Tue, 15 May 2012 06:48:06 +0000 (14:48 +0800)
commit11dbeeddb732ff310faafebdcf35a257bdf9f953
treecddd695c0f25b38f0b52ed34c551340defb6be63
parent8cc2a446cfbd7c409cfdfedb837b094d8891ae2a
[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>
(cherry picked from commit bd9244f7b9508a5945dcbd015db334110a9cdecf)

Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/scsi/hpsa.c