summaryrefslogtreecommitdiffstats
path: root/Monitor.c
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2006-01-31 01:39:50 +0100
committerNeil Brown <neilb@suse.de>2006-01-31 01:39:50 +0100
commit22a88995861f93110802ee49c5d7bc28250b46ce (patch)
tree16e1f93459d27b51e614d5a81a73252f120e39f9 /Monitor.c
parentPrefer version-1 superblocks for v.large devices. (diff)
downloadmdadm-22a88995861f93110802ee49c5d7bc28250b46ce.tar.xz
mdadm-22a88995861f93110802ee49c5d7bc28250b46ce.zip
Sort mdstat entries so that composites are well-ordered.
This means that "-Ds" lists arrays in an approprate order for assembly. Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'Monitor.c')
-rw-r--r--Monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Monitor.c b/Monitor.c
index 1ad57beb..2ea0bc8f 100644
--- a/Monitor.c
+++ b/Monitor.c
@@ -204,7 +204,7 @@ int Monitor(mddev_dev_t devlist,
if (mdstat)
free_mdstat(mdstat);
- mdstat = mdstat_read(oneshot?0:1);
+ mdstat = mdstat_read(oneshot?0:1, 0);
for (st=statelist; st; st=st->next) {
mdu_array_info_t array;