|
@@ -132,7 +132,7 @@ static struct zbud_ops zbud_zpool_ops = {
|
|
|
|
|
|
static void *zbud_zpool_create(gfp_t gfp, struct zpool_ops *zpool_ops)
|
|
static void *zbud_zpool_create(gfp_t gfp, struct zpool_ops *zpool_ops)
|
|
{
|
|
{
|
|
- return zbud_create_pool(gfp, &zbud_zpool_ops);
|
|
|
|
|
|
+ return zbud_create_pool(gfp, zpool_ops ? &zbud_zpool_ops : NULL);
|
|
}
|
|
}
|
|
|
|
|
|
static void zbud_zpool_destroy(void *pool)
|
|
static void zbud_zpool_destroy(void *pool)
|