]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - managemon.c
FIX: After discarding array give chance monitor to remove it
[thirdparty/mdadm.git] / managemon.c
index 67c59514b0e77bce3bba41051802bd0bdc28e685..6662f675cc938e91a321734da3849d33d689c7c2 100644 (file)
@@ -462,6 +462,7 @@ static void manage_member(struct mdstat_ent *mdstat,
                int level = map_name(pers, mdstat->level);
                if (level == 0 || level == LEVEL_LINEAR) {
                        a->container = NULL;
+                       wakeup_monitor();
                        return;
                }
                else if (a->info.array.level != level && level > 0) {