]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/i2o.h
[PATCH] splice: pass offset around for ->splice_read() and ->splice_write()
[linux-2.6-omap-h63xx.git] / include / linux / i2o.h
index 5a9d8c5991719d121b25471f79b66fd9b25012b0..dd7d627bf66f306b4ee9401f06ed4fb574896a85 100644 (file)
@@ -950,9 +950,7 @@ static inline int i2o_pool_alloc(struct i2o_pool *pool, const char *name,
        if (!pool->slab)
                goto free_name;
 
-       pool->mempool =
-           mempool_create(min_nr, mempool_alloc_slab, mempool_free_slab,
-                          pool->slab);
+       pool->mempool = mempool_create_slab_pool(min_nr, pool->slab);
        if (!pool->mempool)
                goto free_slab;