ref: 0237b583906353b78f9cbf2194dc083e82b8ba23
parent: e93f7885dad16245a4f772d4305cfc00ba5d8a44
author: cinap_lenrek <[email protected]>
date: Fri Apr 1 10:12:50 EDT 2016
kernel: always clunk closed fids asynchronously, regardless of caching
--- a/sys/src/9/port/chan.c
+++ b/sys/src/9/port/chan.c
@@ -520,7 +520,7 @@
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);