summaryrefslogtreecommitdiffstats
path: root/Assemble.c
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2006-03-20 03:50:25 +0000
committerNeil Brown <neilb@suse.de>2006-03-20 03:50:25 +0000
commit39c5a909836de39f974b4221627a2e0420deb913 (patch)
tree5dfe2c7e2039e19cecb9aff1bf2e0815a2a8738e /Assemble.c
parent206c5eaedfa3d8d9d645874bb0f5be808ff06843 (diff)
downloadmdadm-39c5a909836de39f974b4221627a2e0420deb913.tar.gz
mdadm-39c5a909836de39f974b4221627a2e0420deb913.tar.xz
mdadm-39c5a909836de39f974b4221627a2e0420deb913.zip
Release 2.4-pre1
Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'Assemble.c')
-rw-r--r--Assemble.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Assemble.c b/Assemble.c
index 480c512..2dca21d 100644
--- a/Assemble.c
+++ b/Assemble.c
@@ -568,6 +568,7 @@ int Assemble(struct supertype *st, char *mddev, int mdfd,
* that was moved aside due to the reshape overwriting live data
* The code of doing this lives in Grow.c
*/
+#ifndef MDASSEMBLE
if (info.reshape_active) {
int err = 0;
int *fdlist = malloc(sizeof(int)* bestcnt);
@@ -595,6 +596,7 @@ int Assemble(struct supertype *st, char *mddev, int mdfd,
return err;
}
}
+#endif
/* count number of in-sync devices according to the superblock.
* We must have this number to start the array without -s or -R
*/