[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-raid
Subject:    PATCH - cset 1.497.59.25 breaks MD autodetect
From:       Neil Brown <neilb () cse ! unsw ! edu ! au>
Date:       2002-09-14 9:49:14
[Download RAW message or body]


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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic