Commit 3289723c authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Handle out of storage on conditional bg fetches

parent a5bf869f
......@@ -615,10 +615,10 @@ vbf_stp_condfetch(struct worker *wrk, struct busyobj *bo)
do {
ois = ObjIter(oi, &sp, &sl);
while (sl > 0) {
if (st == NULL) {
if (st == NULL)
st = VFP_GetStorage(bo, bo->ims_obj->len - al);
XXXAN(st);
}
if (st == NULL)
break;
tl = sl;
if (tl > st->space - st->len)
tl = st->space - st->len;
......
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