diff options
author | Neil Brown <neilb@suse.de> | 2006-03-20 03:50:25 +0000 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2006-03-20 03:50:25 +0000 |
commit | 39c5a909836de39f974b4221627a2e0420deb913 (patch) | |
tree | 5dfe2c7e2039e19cecb9aff1bf2e0815a2a8738e /Assemble.c | |
parent | 206c5eaedfa3d8d9d645874bb0f5be808ff06843 (diff) | |
download | mdadm-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.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 */ |