aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/md.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/md.c')
-rw-r--r--drivers/md/md.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c
index 757e388308a8..a20b7806de7a 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -3611,6 +3611,8 @@ level_store(struct mddev *mddev, const char *buf, size_t len)
3611 pers->run(mddev); 3611 pers->run(mddev);
3612 set_bit(MD_CHANGE_DEVS, &mddev->flags); 3612 set_bit(MD_CHANGE_DEVS, &mddev->flags);
3613 mddev_resume(mddev); 3613 mddev_resume(mddev);
3614 if (!mddev->thread)
3615 md_update_sb(mddev, 1);
3614 sysfs_notify(&mddev->kobj, NULL, "level"); 3616 sysfs_notify(&mddev->kobj, NULL, "level");
3615 md_new_event(mddev); 3617 md_new_event(mddev);
3616 return rv; 3618 return rv;