Searched defs:cln_zhp (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/zoneadm/
H A Dzfs.c724 promote_clone(zfs_handle_t *src_zhp, zfs_handle_t *cln_zhp) argument
730 (void) strlcpy(nm, zfs_get_name(cln_zhp), sizeof (nm));
740 if (zfs_iter_snapshots(cln_zhp, B_FALSE, get_snap_max, &sd) != 0)
766 zfs_close(cln_zhp);
767 if ((cln_zhp = zfs_open(g_zfs, nm, ZFS_TYPE_FILESYSTEM)) == NULL)
770 if (zfs_promote(cln_zhp) != 0) {
776 zfs_close(cln_zhp);

Completed in 69 milliseconds