]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - config.c
Don't set 'hold' option for mdstat_read if not needed.
[thirdparty/mdadm.git] / config.c
index 5c8b03a3838d7a1548aef5a2b326663ef097b399..2c7bb63c87581b22b2b6ea0986b6c2329317b7da 100644 (file)
--- a/config.c
+++ b/config.c
@@ -150,7 +150,7 @@ struct mddev_dev *load_partitions(void)
 
 struct mddev_dev *load_containers(void)
 {
-       struct mdstat_ent *mdstat = mdstat_read(1, 0);
+       struct mdstat_ent *mdstat = mdstat_read(0, 0);
        struct mdstat_ent *ent;
        struct mddev_dev *d;
        struct mddev_dev *rv = NULL;