>From 0dac844675a298df6c7d05445edac815db7e4419 Mon Sep 17 00:00:00 2001 From: Anna Czarnowska <anna.czarnowska@xxxxxxxxx> Date: Wed, 9 Feb 2011 09:52:00 +0100 Subject: [PATCH 2/2] fix: imsm: assemble doesn't restart recovery Cc: linux-raid@xxxxxxxxxxxxxxx, Williams, Dan J <dan.j.williams@xxxxxxxxx>, Ciechanowski, Ed <ed.ciechanowski@xxxxxxxxx> Because IMSM_ORD_REBUILD is set in second map not first. Signed-off-by: Anna Czarnowska <anna.czarnowska@xxxxxxxxx> --- super-intel.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/super-intel.c b/super-intel.c index 5c16137..29f8fc4 100644 --- a/super-intel.c +++ b/super-intel.c @@ -4780,7 +4780,7 @@ static struct mdinfo *container_content_imsm(struct supertype *st, char *subarra skip = 0; idx = get_imsm_disk_idx(dev, slot, 0); - ord = get_imsm_ord_tbl_ent(dev, slot, 0); + ord = get_imsm_ord_tbl_ent(dev, slot, -1); for (d = super->disks; d ; d = d->next) if (d->index == idx) break; -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html