Merge branch 'for-2.6.37/drivers' into for-linus
[~shefty/rdma-dev.git] / drivers / block / drbd / drbd_main.c
index 2e4df4783fd568e7b31ddbd85015ad19fd7c817d..6be5401d0e88fd193b1af75c303c8140d4f6ccd3 100644 (file)
@@ -2993,7 +2993,7 @@ static int drbd_create_mempools(void)
 
        drbd_ee_mempool = mempool_create(number,
                mempool_alloc_slab, mempool_free_slab, drbd_ee_cache);
-       if (drbd_request_mempool == NULL)
+       if (drbd_ee_mempool == NULL)
                goto Enomem;
 
        /* drbd's page pool */