summaryrefslogtreecommitdiffstats
path: root/Incremental.c
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2006-12-21 17:24:38 +1100
committerNeil Brown <neilb@suse.de>2006-12-21 17:24:38 +1100
commitf8409e547844135bc4e2890b2a79f7ce4e449fe5 (patch)
treecc90c22e278a509cc8a46d6caa02cbdd143d797e /Incremental.c
parent8382f19bdcc6d2d1de92154e11129acdcaab10fa (diff)
downloadmdadm-f8409e547844135bc4e2890b2a79f7ce4e449fe5.tar.gz
mdadm-f8409e547844135bc4e2890b2a79f7ce4e449fe5.tar.xz
mdadm-f8409e547844135bc4e2890b2a79f7ce4e449fe5.zip
Release 2.6mdadm-2.6
Diffstat (limited to 'Incremental.c')
-rw-r--r--Incremental.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Incremental.c b/Incremental.c
index ebe501f..705c402 100644
--- a/Incremental.c
+++ b/Incremental.c
@@ -391,6 +391,7 @@ int Incremental(char *devname, int verbose, int runstop,
/* 7/ Is there enough devices to possibly start the array? */
/* 7a/ if not, finish with success. */
+ avail = NULL;
active_disks = count_active(st, mdfd, &avail, &info);
if (enough(info.array.level, info.array.raid_disks,
info.array.layout, info.array.state & 1,