fix cs deadlock caused by ndb trying to create hashfile for /net/ndb

This commit is contained in:
cinap_lenrek 2012-02-13 15:26:47 +01:00
parent ef310cbd28
commit 921b81d8f8

View file

@ -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;