]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - Incremental.c
mdadm: load default sysfs attributes after assemblation
[thirdparty/mdadm.git] / Incremental.c
index d4d3c353560d8fb4946c8fad1b0840a0de82e0dd..98dbcd920f535a44f8764ee91f72fb4fcb6efea1 100644 (file)
@@ -480,6 +480,7 @@ int Incremental(struct mddev_dev *devlist, struct context *c,
                        pr_err("container %s now has %d device%s\n",
                               chosen_name, info.array.working_disks,
                               info.array.working_disks == 1?"":"s");
+               sysfs_rules_apply(chosen_name, &info);
                wait_for(chosen_name, mdfd);
                if (st->ss->external)
                        strcpy(devnm, fd2devnm(mdfd));