summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/src/libndb/ndbopen.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/src/libndb/ndbopen.c b/sys/src/libndb/ndbopen.c
index 3a95ccb31..36dd9a864 100644
--- a/sys/src/libndb/ndbopen.c
+++ b/sys/src/libndb/ndbopen.c
@@ -108,6 +108,10 @@ ndbreopen(Ndb *db)
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;