ref: f31c5b3b3b9bc06b2ccbb1db17a731ff1b80fcbf
parent: d97d8e3ac9dd985aa60a8da9269c88a5c5dcf884
author: cinap_lenrek <cinap_lenrek@rei2.9hal>
date: Mon Feb 13 10:26:47 EST 2012
fix cs deadlock caused by ndb trying to create hashfile for /net/ndb
--- a/sys/src/libndb/ndbopen.c
+++ b/sys/src/libndb/ndbopen.c
@@ -108,6 +108,10 @@
return -1;
}
+ /* no hashfile for /net/ndb (avoids deadlock in cs) */
+ if(d->type == 'I')
+ db->nohash = 1;
+
db->qid = d->qid;
db->mtime = d->mtime;
db->length = d->length;
--
⑨