Add clarifying assertion

we only jump to the again label if we did not get a reference.
parent 8883290b
......@@ -4780,7 +4780,7 @@ struct objcore **ocp, uintptr_t priv2, unsigned crit)
CAST_OBJ_NOTNULL(nfco, fcr.r.ptr, FELLOW_CACHE_OBJ_MAGIC);
again:
AZ(oref);
//lint --e{456} flexelint does not grok trylock
AZ(pthread_mutex_lock(&fc->fdb_mtx));
fco = VRBT_INSERT(fellow_cache_fdb_head, &fc->fdb_head, nfco);
......
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