Commit bba570dc authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Remove bo->boc pointer. No longer needed.

parent 4071b64a
......@@ -462,8 +462,6 @@ struct busyobj {
unsigned magic;
#define BUSYOBJ_MAGIC 0x23b95567
struct boc *boc;
char *end;
/*
......
......@@ -987,17 +987,16 @@ VBF_Fetch(struct worker *wrk, struct req *req, struct objcore *oc,
}
bo = VBO_GetBusyObj(wrk, req);
bo->boc = oc->boc;
CHECK_OBJ_NOTNULL(bo, BUSYOBJ_MAGIC);
boc = HSH_RefBusy(oc);
CHECK_OBJ_NOTNULL(boc, BOC_MAGIC);
VSLb(bo->vsl, SLT_Begin, "bereq %u %s", VXID(req->vsl->wid), how);
VSLb(req->vsl, SLT_Link, "bereq %u %s", VXID(bo->vsl->wid), how);
THR_SetBusyobj(bo);
boc = HSH_RefBusy(oc);
AN(boc);
assert(boc == bo->boc);
AN(bo->vcl);
......
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