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

Now that saint-mode uses the digest, we can remove the temporary

objcore assignment.
parent 4bbbc693
......@@ -271,9 +271,6 @@ vbe_Healthy(const struct vdi_simple *vs, const struct sess *sp)
if (threshold == 0 || VTAILQ_EMPTY(&backend->troublelist))
return (1);
if (sp->req->objcore == NULL)
return (1);
now = sp->t_req;
old = NULL;
......
......@@ -377,7 +377,6 @@ HSH_Lookup(struct sess *sp)
*/
AZ(req->objcore);
req->objcore = grace_oc; /* XXX: Hack-ish */
if (oc == NULL /* We found no live object */
&& grace_oc != NULL /* There is a grace candidate */
&& (busy_oc != NULL /* Somebody else is already busy */
......@@ -387,7 +386,6 @@ HSH_Lookup(struct sess *sp)
CHECK_OBJ_NOTNULL(o, OBJECT_MAGIC);
oc = grace_oc;
}
req->objcore = NULL;
if (oc != NULL && !req->hash_always_miss) {
o = oc_getobj(&wrk->stats, oc);
......
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