diff options
-rw-r--r-- | drivers/md/md.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c index c8c40c361532..b5744b1bd2ba 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c | |||
@@ -3322,6 +3322,9 @@ static int do_md_stop(mddev_t * mddev, int mode) | |||
3322 | set_disk_ro(disk, 0); | 3322 | set_disk_ro(disk, 0); |
3323 | blk_queue_make_request(mddev->queue, md_fail_request); | 3323 | blk_queue_make_request(mddev->queue, md_fail_request); |
3324 | mddev->pers->stop(mddev); | 3324 | mddev->pers->stop(mddev); |
3325 | mddev->queue->merge_bvec_fn = NULL; | ||
3326 | mddev->queue->unplug_fn = NULL; | ||
3327 | mddev->queue->issue_flush_fn = NULL; | ||
3325 | if (mddev->pers->sync_request) | 3328 | if (mddev->pers->sync_request) |
3326 | sysfs_remove_group(&mddev->kobj, &md_redundancy_group); | 3329 | sysfs_remove_group(&mddev->kobj, &md_redundancy_group); |
3327 | 3330 | ||