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);
|
||||
error("incref");
|
||||
}
|
||||
if(x->flushing)
|
||||
error("flushing in allocate");
|
||||
if(x->flushtag != -1)
|
||||
error("flushtag in allocate");
|
||||
incref(x);
|
||||
|
|
Loading…
Reference in a new issue