Searched refs:newrootvd (Results 1 – 1 of 1) sorted by relevance
/netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/ |
H A D | spa.c | 4882 vdev_t *oldvd, *newvd, *newrootvd, *pvd, *tvd; in spa_vdev_attach() local 4902 if ((error = spa_config_parse(spa, &newrootvd, nvroot, NULL, 0, in spa_vdev_attach() 4906 if (newrootvd->vdev_children != 1) in spa_vdev_attach() 4907 return (spa_vdev_exit(spa, newrootvd, txg, EINVAL)); in spa_vdev_attach() 4909 newvd = newrootvd->vdev_child[0]; in spa_vdev_attach() 4912 return (spa_vdev_exit(spa, newrootvd, txg, EINVAL)); in spa_vdev_attach() 4914 if ((error = vdev_create(newrootvd, txg, replacing)) != 0) in spa_vdev_attach() 4915 return (spa_vdev_exit(spa, newrootvd, txg, error)); in spa_vdev_attach() 4921 return (spa_vdev_exit(spa, newrootvd, txg, ENOTSUP)); in spa_vdev_attach() 4930 return (spa_vdev_exit(spa, newrootvd, txg, ENOTSUP)); in spa_vdev_attach() [all …]
|