zfs_hold_nvl
extern int zfs_hold_nvl(zfs_handle_t *, int, nvlist_t *);
ret = zfs_hold_nvl(zhp, cleanup_fd, ha.nvl);
err = zfs_hold_nvl(zhp, sdd.cleanup_fd, sdd.snapholds);