diff options
-rw-r--r-- | mm/zbud.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -132,7 +132,7 @@ static struct zbud_ops zbud_zpool_ops = { | |||
132 | 132 | ||
133 | static void *zbud_zpool_create(gfp_t gfp, struct zpool_ops *zpool_ops) | 133 | static void *zbud_zpool_create(gfp_t gfp, struct zpool_ops *zpool_ops) |
134 | { | 134 | { |
135 | return zbud_create_pool(gfp, &zbud_zpool_ops); | 135 | return zbud_create_pool(gfp, zpool_ops ? &zbud_zpool_ops : NULL); |
136 | } | 136 | } |
137 | 137 | ||
138 | static void zbud_zpool_destroy(void *pool) | 138 | static void zbud_zpool_destroy(void *pool) |