]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Grow.c
fix array_size in child_monitor
authorNeilBrown <neilb@suse.de>
Tue, 11 Jan 2011 23:37:26 +0000 (10:37 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 11 Jan 2011 23:37:26 +0000 (10:37 +1100)
commit965330727279c6d77d0c333a8d9fdddb03d1033d
tree71969ab5f3bc6eafbc7e246688747148d2bf511a
parent92d1991fffcc56c7b7ce4667f847559e2df23449
fix array_size in child_monitor

The array_size we need to consider is the largest possible size of the
array, which is a different calculation depending on whether the array
is growing or shrinking.

Signed-off-by: NeilBrown <neilb@suse.de>
Grow.c