]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/md/md.c
[PATCH] md: clear the congested_fn when stopping a raid5
[linux-2.6-omap-h63xx.git] / drivers / md / md.c
index 6c06e825cff5af8f070ff9d370f987da7c64f34b..a9852dbdfd66e415a9cdfd2103fcb3c529842602 100644 (file)
@@ -3325,6 +3325,7 @@ static int do_md_stop(mddev_t * mddev, int mode)
                        mddev->queue->merge_bvec_fn = NULL;
                        mddev->queue->unplug_fn = NULL;
                        mddev->queue->issue_flush_fn = NULL;
+                       mddev->queue->backing_dev_info.congested_fn = NULL;
                        if (mddev->pers->sync_request)
                                sysfs_remove_group(&mddev->kobj, &md_redundancy_group);