int sock, struct ustcomm_ust_msg *lum)
{
int ret = 0;
- const struct objd_ops *ops;
+ const struct lttng_ust_objd_ops *ops;
struct ustcomm_ust_reply lur;
int shm_fd, wait_fd;
if (lum->handle == LTTNG_UST_ROOT_HANDLE)
ret = -EPERM;
else
- ret = objd_unref(lum->handle);
+ ret = lttng_ust_objd_unref(lum->handle);
break;
default:
if (ops->cmd)
sock_info->socket = -1;
}
if (sock_info->root_handle != -1) {
- ret = objd_unref(sock_info->root_handle);
+ ret = lttng_ust_objd_unref(sock_info->root_handle);
if (ret) {
ERR("Error unref root handle");
}