path2name
if (path2name(zonepath, clone_name, sizeof (clone_name)) != Z_OK) {
if (path2name(zonepath, zfs_name, sizeof (zfs_name)) != Z_OK)