summaryrefslogtreecommitdiffstats
path: root/restripe.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2015-05-06 07:03:50 +0200
committerNeilBrown <neilb@suse.de>2015-05-06 07:03:50 +0200
commitd180d2aa2a1770af1ab8520d6362ba331400512f (patch)
tree1639eb277cc476c1e717b7d491689b9472de0d68 /restripe.c
parentIMSM: Count arrays per orom (diff)
downloadmdadm-d180d2aa2a1770af1ab8520d6362ba331400512f.tar.xz
mdadm-d180d2aa2a1770af1ab8520d6362ba331400512f.zip
Manage: fix test for 'is array failed'.
We 'active_disks' does not count spares, so if array is rebuilding, this will not necessarily find all devices, so may report an array as failed when it isn't. Counting up to nr_disks is better. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'restripe.c')
0 files changed, 0 insertions, 0 deletions