rio: add sanity check in xfidallocthread()
This commit is contained in:
parent
f37ee95fbc
commit
837918ee5e
1 changed files with 2 additions and 0 deletions
|
@ -70,6 +70,8 @@ xfidallocthread(void*)
|
||||||
fprint(2, "%p incref %ld\n", x, x->ref);
|
fprint(2, "%p incref %ld\n", x, x->ref);
|
||||||
error("incref");
|
error("incref");
|
||||||
}
|
}
|
||||||
|
if(x->flushing)
|
||||||
|
error("flushing in allocate");
|
||||||
if(x->flushtag != -1)
|
if(x->flushtag != -1)
|
||||||
error("flushtag in allocate");
|
error("flushtag in allocate");
|
||||||
incref(x);
|
incref(x);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue