|
@@ -73,7 +73,7 @@ mempool_t *mempool_create_node(int min_nr, mempool_alloc_t *alloc_fn,
|
|
|
gfp_t gfp_mask, int node_id)
|
|
|
{
|
|
|
mempool_t *pool;
|
|
|
- pool = kmalloc_node(sizeof(*pool), gfp_mask | __GFP_ZERO, node_id);
|
|
|
+ pool = kzalloc_node(sizeof(*pool), gfp_mask, node_id);
|
|
|
if (!pool)
|
|
|
return NULL;
|
|
|
pool->elements = kmalloc_node(min_nr * sizeof(void *),
|