ref: 921b81d8f8392534a608b43b6f44c5deefd777e2
parent: ef310cbd28bc85ae3bace90b476c3e2fb0b15b0a
author: cinap_lenrek <[email protected]>
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;