fix cs deadlock caused by ndb trying to create hashfile for /net/ndb
This commit is contained in:
parent
ef310cbd28
commit
921b81d8f8
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue