diff options
author | Neil Brown <neilb@suse.de> | 2006-01-31 01:39:50 +0100 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2006-01-31 01:39:50 +0100 |
commit | 22a88995861f93110802ee49c5d7bc28250b46ce (patch) | |
tree | 16e1f93459d27b51e614d5a81a73252f120e39f9 /Monitor.c | |
parent | Prefer version-1 superblocks for v.large devices. (diff) | |
download | mdadm-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |