fellow_cache: Add assertion that seglists have at least one member

parent acd4b4b5
......@@ -2861,6 +2861,7 @@ fellow_disk_seglist_alloc(struct fellow_busy *fbo,
AZ(ofdsl->next.off);
AZ(ofdsl->next.size);
AN(ldsegs);
sz = SEGLIST_SIZE(fdsl, ldsegs);
fdr = fellow_busy_region_alloc(fbo, sz, 0);
......
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