From ea32955930cc63d2fa445ff00437f5f767f7a4af Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Tue, 7 Jun 2005 23:03:46 +0000 Subject: Increase max-devs on type-1 superblocks Signed-off-by: Neil Brown --- Grow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Grow.c') diff --git a/Grow.c b/Grow.c index 817a17a8..33e50c35 100644 --- a/Grow.c +++ b/Grow.c @@ -236,7 +236,7 @@ int Grow_addbitmap(char *devname, int fd, char *file, int chunk, int delay) } if (strcmp(file, "internal") == 0) { int d; - for (d=0; d< MD_SB_DISKS; d++) { + for (d=0; d< st->max_devs; d++) { mdu_disk_info_t disk; char *dv; disk.number = d; -- cgit v1.2.3