diff --git a/drivers/md/md.c b/drivers/md/md.c index 8cfadc5bd2ba54f858c8f28c8f17c5db40942891..4790c83d78d0cd52adbfb4d4c394eb9d7ec4c691 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c @@ -3841,8 +3841,6 @@ static int do_md_stop(mddev_t * mddev, int mode, int is_open) del_timer_sync(&mddev->safemode_timer); - invalidate_partition(disk, 0); - switch(mode) { case 1: /* readonly */ err = -ENXIO;