Message ID | 20220608162756.144600-12-logang@deltatee.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Bug fixes for mdadm tests | expand |
diff --git a/drivers/md/md.c b/drivers/md/md.c index ec46b83adf29..6e583f41caff 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c @@ -9476,6 +9476,7 @@ void md_reap_sync_thread(struct mddev *mddev, bool reconfig_mutex_held) wake_up(&resync_wait); /* flag recovery needed just to double check */ set_bit(MD_RECOVERY_NEEDED, &mddev->recovery); + sysfs_notify_dirent_safe(mddev->sysfs_completed); sysfs_notify_dirent_safe(mddev->sysfs_action); md_new_event(); if (mddev->event_work.func)