summaryrefslogtreecommitdiff
path: root/sys/src/cmd/rio
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@gmx.de>2013-11-01 21:28:03 +0100
committercinap_lenrek <cinap_lenrek@gmx.de>2013-11-01 21:28:03 +0100
commit837918ee5e391fc0429654135c4a828f96f6bc3d (patch)
treef24132b8ebeeffd902195bc80a0b96c0fcb5232e /sys/src/cmd/rio
parentf37ee95fbcd5d837c4eff29e7feb5a999420dae2 (diff)
rio: add sanity check in xfidallocthread()
Diffstat (limited to 'sys/src/cmd/rio')
-rw-r--r--sys/src/cmd/rio/xfid.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/src/cmd/rio/xfid.c b/sys/src/cmd/rio/xfid.c
index 3e66de01d..be7c65d9c 100644
--- a/sys/src/cmd/rio/xfid.c
+++ b/sys/src/cmd/rio/xfid.c
@@ -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);