aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-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 52f9865096c6..e57213dacd25 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -3691,6 +3691,8 @@ static int do_md_stop(mddev_t * mddev, int mode)
3691 3691
3692 module_put(mddev->pers->owner); 3692 module_put(mddev->pers->owner);
3693 mddev->pers = NULL; 3693 mddev->pers = NULL;
3694 /* tell userspace to handle 'inactive' */
3695 sysfs_notify(&mddev->kobj, NULL, "array_state");
3694 3696
3695 set_capacity(disk, 0); 3697 set_capacity(disk, 0);
3696 mddev->changed = 1; 3698 mddev->changed = 1;