]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - block/cfq-iosched.c
[PATCH] md: Infrastructure to allow normal IO to continue while array is expanding
[linux-2.6-omap-h63xx.git] / block / cfq-iosched.c
index c4a0d5d8d7f0dd4080ae63c7897c8fcdde3b10d7..bde40a6ae66533c2b07f46e1eb8d4952fc0e96ed 100644 (file)
@@ -2191,7 +2191,7 @@ static int cfq_init_queue(request_queue_t *q, elevator_t *e)
        if (!cfqd->cfq_hash)
                goto out_cfqhash;
 
-       cfqd->crq_pool = mempool_create(BLKDEV_MIN_RQ, mempool_alloc_slab, mempool_free_slab, crq_pool);
+       cfqd->crq_pool = mempool_create_slab_pool(BLKDEV_MIN_RQ, crq_pool);
        if (!cfqd->crq_pool)
                goto out_crqpool;