PATCH - cset 1.497.59.25 breaks MD autodetect

From: Neil Brown <hidden>
Date: 2002-09-14 09:49:14

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help