PATCH - cset 1.497.59.25 breaks MD autodetect

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




cset 1.497.59.25 shifts a lot of indexes down one, but this one
shouldn't have been shifted...

NeilBrown


--- ./fs/partitions/check.c	2002/09/14 09:46:21	1.1
+++ ./fs/partitions/check.c	2002/09/14 09:46:27
@@ -251,7 +251,7 @@ static void check_partition(struct gendi
 			p[j-1].start_sect = state->parts[j].from;
 			p[j-1].nr_sects = state->parts[j].size;
 #if CONFIG_BLK_DEV_MD
-			if (!state->parts[j-1].flags)
+			if (!state->parts[j].flags)
 				continue;
 			md_autodetect_dev(bdev->bd_dev+j);
 #endif
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux