Merge commit 'refs/top-bases/linux-have-libefi' into linux-have-libefi
This commit is contained in:
commit
b0a2bea0ec
|
@ -3234,7 +3234,7 @@ spa_vdev_remove_aux(nvlist_t *config, char *name, nvlist_t **dev, int count,
|
||||||
nvlist_t *dev_to_remove)
|
nvlist_t *dev_to_remove)
|
||||||
{
|
{
|
||||||
nvlist_t **newdev = NULL;
|
nvlist_t **newdev = NULL;
|
||||||
int i;
|
int i, j;
|
||||||
|
|
||||||
if (count > 1)
|
if (count > 1)
|
||||||
newdev = kmem_alloc((count - 1) * sizeof (void *), KM_SLEEP);
|
newdev = kmem_alloc((count - 1) * sizeof (void *), KM_SLEEP);
|
||||||
|
|
Loading…
Reference in New Issue