VDEV_TYPE_FILE
memcmp(type, VDEV_TYPE_FILE, len) != 0 &&
fnvlist_add_string(vdevs[0], ZPOOL_CONFIG_TYPE, VDEV_TYPE_FILE);
strcmp(type, VDEV_TYPE_FILE) != 0) {
else if (strcmp(type, VDEV_TYPE_FILE) == 0)
type = VDEV_TYPE_FILE;
VERIFY(nvlist_add_string(file, ZPOOL_CONFIG_TYPE, VDEV_TYPE_FILE) == 0);
if (strcmp(type, VDEV_TYPE_FILE) == 0 ||
} else if (strcmp(type, VDEV_TYPE_FILE) == 0) {
.vdev_op_type = VDEV_TYPE_FILE, /* name of this vdev type */