kernel: always clunk closed fids asynchronously, regardless of caching

This commit is contained in:
cinap_lenrek 2016-04-01 14:12:50 +02:00
parent e93f7885da
commit 0237b58390

View file

@ -520,7 +520,7 @@ cclose(Chan *c)
return;
if(devtab[c->type]->dc == L'M')
if((c->flag&(CRCLOSE|CCACHE)) == CCACHE)
if((c->flag&COPEN) == 0 || (c->flag&(CRCLOSE|CCACHE)) == CCACHE)
if((c->qid.type&(QTEXCL|QTMOUNT|QTAUTH)) == 0)
if((clunkq.nqueued - clunkq.nclosed) < 64){
closechanq(c);