Revert "Adjust to workspace interface changes"

This 6.6 branch was forked from master after 6.6 release

This reverts commit 1e284a17.
parent 2981eff1
......@@ -495,7 +495,7 @@ pesi_buf_init(struct vdp_ctx *vdc, void **priv, struct objcore *oc)
CAST_OBJ_NOTNULL(pesi, *priv, PESI_MAGIC);
(void) oc;
assert(WS_Allocated(req->ws, pesi, sizeof *pesi));
WS_Assert_Allocated(req->ws, pesi, sizeof *pesi);
node_fill_nodestock(req->ws, &pesi->nodestock);
return (0);
......@@ -679,7 +679,7 @@ vdp_pesi_init(struct vdp_ctx *vdc, void **priv, struct objcore *oc)
CAST_OBJ_NOTNULL(pesi, req->transport_priv, PESI_MAGIC);
*priv = pesi;
assert(WS_Allocated(req->ws, pesi, sizeof *pesi));
WS_Assert_Allocated(req->ws, pesi, sizeof *pesi);
node_fill_nodestock(req->ws, &pesi->nodestock);
get_task_cfg(req, &pesi->flags);
#ifdef DEBUG_PESI_WS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment