Polish

parent 36e038c4
......@@ -4745,19 +4745,18 @@ fellow_cache_obj_iter(struct fellow_cache *fc, struct fellow_cache_obj *fco,
* derefn == mod - 1 == 0
*/
AZ(flags & OBJ_ITER_END);
flush = 0;
if (fcs->state == FCS_BUSY) {
if (fcs->state == FCS_BUSY)
flush = OBJ_ITER_FLUSH;
}
else if (((fcsnext = fcsc_peek_wait(fco, &c)) == NULL) ||
fcsnext->state == FCS_USABLE) {
flags |= OBJ_ITER_END;
flush = OBJ_ITER_FLUSH;
}
else if (fcoid->n == fcoid->max - 1 ||
fcsnext->state != FCS_INCORE) {
fcsnext->state != FCS_INCORE)
flush = OBJ_ITER_FLUSH;
}
else
flush = 0;
assert(ra[n % mod] == fcs);
ra[n % mod] = NULL;
......
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