From: Stephen M. Cameron Date: Thu, 16 Dec 2010 19:01:03 +0000 (-0600) Subject: [SCSI] hpsa: do not consider RAID level to be part of device identity X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=35dd3039e09cd46ca3a8733ff1c817bf7b7b19ce;p=openwrt%2Fstaging%2Fblogic.git [SCSI] hpsa: do not consider RAID level to be part of device identity 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 Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index a2408e591770..12deffccb8da 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c @@ -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;