[SCSI] hpsa: do not consider RAID level to be part of device identity
authorStephen M. Cameron <StephenM.Cameron>
Thu, 16 Dec 2010 19:01:03 +0000 (13:01 -0600)
committerJames Bottomley <James.Bottomley@suse.de>
Tue, 21 Dec 2010 18:37:27 +0000 (12:37 -0600)
Otherwise, after doing a RAID level migration, the disk will be
disruptively removed and re-added as a different disk on rescan.

Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/hpsa.c

index a2408e5917705f808e54d3487e1881c70e00618a..12deffccb8da2f13358202c229c530726edd9227 100644 (file)
@@ -657,8 +657,6 @@ static inline int device_is_the_same(struct hpsa_scsi_dev_t *dev1,
                return 0;
        if (dev1->devtype != dev2->devtype)
                return 0;
-       if (dev1->raid_level != dev2->raid_level)
-               return 0;
        if (dev1->bus != dev2->bus)
                return 0;
        return 1;