diff options
Diffstat (limited to 'module/zfs/spa.c')
-rw-r--r-- | module/zfs/spa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/spa.c b/module/zfs/spa.c index c7cfe6ee8..3264bfb10 100644 --- a/module/zfs/spa.c +++ b/module/zfs/spa.c @@ -1724,7 +1724,7 @@ spa_config_valid(spa_t *spa, nvlist_t *config) nvlist_t **child, *nv; uint64_t idx = 0; - child = kmem_alloc(rvd->vdev_children * sizeof (nvlist_t **), + child = kmem_alloc(rvd->vdev_children * sizeof (nvlist_t *), KM_SLEEP); VERIFY(nvlist_alloc(&nv, NV_UNIQUE_NAME, KM_SLEEP) == 0); |