Home
last modified time | relevance | path

Searched refs:newrootvd (Results 1 – 1 of 1) sorted by relevance

/titanic_44/usr/src/uts/common/fs/zfs/
H A Dspa.c4459 vdev_t *oldvd, *newvd, *newrootvd, *pvd, *tvd; in spa_vdev_attach() local
4479 if ((error = spa_config_parse(spa, &newrootvd, nvroot, NULL, 0, in spa_vdev_attach()
4483 if (newrootvd->vdev_children != 1) in spa_vdev_attach()
4484 return (spa_vdev_exit(spa, newrootvd, txg, EINVAL)); in spa_vdev_attach()
4486 newvd = newrootvd->vdev_child[0]; in spa_vdev_attach()
4489 return (spa_vdev_exit(spa, newrootvd, txg, EINVAL)); in spa_vdev_attach()
4491 if ((error = vdev_create(newrootvd, txg, replacing)) != 0) in spa_vdev_attach()
4492 return (spa_vdev_exit(spa, newrootvd, txg, error)); in spa_vdev_attach()
4498 return (spa_vdev_exit(spa, newrootvd, txg, ENOTSUP)); in spa_vdev_attach()
4507 return (spa_vdev_exit(spa, newrootvd, txg, ENOTSUP)); in spa_vdev_attach()
[all …]