Polish more fcsl->lsegs vs. fdsl->lsegs possible confusion

parent b59b86b8
......@@ -2123,6 +2123,7 @@ fellow_busy_obj_alloc(struct fellow_cache *fc,
AN(fbo->body_seglist);
AN(fbo->body_seglist->lsegs);
AN(fbo->body_seglist->fdsl->lsegs);
AZ(fbo->body_seglist->fdsl->nsegs);
/* keep one io outstanding until unbusy is called
......@@ -4198,7 +4199,8 @@ fellow_busy_obj_getspace(struct fellow_busy *fbo, size_t *sz, uint8_t **ptr)
AN(fbo->body_seglist);
AN(fbo->body_seglist->fdsl);
fbo->body_seglist->fdsl->nsegs++;
assert(fbo->body_seglist->fdsl->nsegs <= fbo->body_seglist->lsegs);
assert(fbo->body_seglist->fdsl->nsegs <=
fbo->body_seglist->fdsl->lsegs);
*sz = spc;
*ptr = fcs->alloc.ptr;
......
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