]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - managemon.c
get_info_super: report which other devices are thought to be working/failed.
[thirdparty/mdadm.git] / managemon.c
index bab0397921a7d30dc24e012cfa9decc8d5e877f5..b6f99252716ac08120dd5d56050695844c9a413f 100644 (file)
@@ -276,7 +276,7 @@ static void add_disk_to_container(struct supertype *st, struct mdinfo *sd)
         */
        st2 = dup_super(st);
        if (st2->ss->load_super(st2, dfd, NULL) == 0) {
         */
        st2 = dup_super(st);
        if (st2->ss->load_super(st2, dfd, NULL) == 0) {
-               st2->ss->getinfo_super(st, &info);
+               st2->ss->getinfo_super(st, &info, NULL);
                if (st->ss->compare_super(st, st2) == 0 &&
                    info.disk.raid_disk >= 0) {
                        /* Looks like a good member of array.
                if (st->ss->compare_super(st, st2) == 0 &&
                    info.disk.raid_disk >= 0) {
                        /* Looks like a good member of array.