diff options
Diffstat (limited to 'drivers/md/md.c')
-rw-r--r-- | drivers/md/md.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c index ad576ad2ca76..71d46eb2c438 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c | |||
@@ -2911,7 +2911,7 @@ static int do_md_stop(mddev_t * mddev, int ro) | |||
2911 | if (disk) | 2911 | if (disk) |
2912 | set_capacity(disk, 0); | 2912 | set_capacity(disk, 0); |
2913 | mddev->changed = 1; | 2913 | mddev->changed = 1; |
2914 | } else | 2914 | } else if (mddev->pers) |
2915 | printk(KERN_INFO "md: %s switched to read-only mode.\n", | 2915 | printk(KERN_INFO "md: %s switched to read-only mode.\n", |
2916 | mdname(mddev)); | 2916 | mdname(mddev)); |
2917 | err = 0; | 2917 | err = 0; |