Commit ec63cdb1 authored by Martin Blix Grydeland's avatar Martin Blix Grydeland

Fix double counting n_objectcore

n_objectcore is incremented by ObjNew(), so HSH_Insert() should not
increase it again.
parent 56c38b64
......@@ -297,7 +297,6 @@ HSH_Insert(struct worker *wrk, const void *digest, struct objcore *oc,
if (!VTAILQ_EMPTY(&oh->waitinglist))
hsh_rush(wrk, oh);
Lck_Unlock(&oh->mtx);
wrk->stats->n_objectcore++;
wrk->stats->n_vampireobject++;
}
......
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