summaryrefslogtreecommitdiff
path: root/sys/src/9/port/chan.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@centraldogma>2011-12-22 02:17:29 +0100
committercinap_lenrek <cinap_lenrek@centraldogma>2011-12-22 02:17:29 +0100
commitea5a23d39a5a5313144055481e85689809d65673 (patch)
treeb660637d50779df301b782c9f19a381c63efba12 /sys/src/9/port/chan.c
parent27830ae53e8dfaea0c809410f27c66214c6d2560 (diff)
kernel: make mntcache effective, be carefull
Diffstat (limited to 'sys/src/9/port/chan.c')
-rw-r--r--sys/src/9/port/chan.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/src/9/port/chan.c b/sys/src/9/port/chan.c
index 28ac86e13..a50565ba0 100644
--- a/sys/src/9/port/chan.c
+++ b/sys/src/9/port/chan.c
@@ -1488,9 +1488,6 @@ if(c->umh != nil){
/* save registers else error() in open has wrong value of c saved */
saveregisters();
- if(omode == OEXEC)
- c->flag &= ~CCACHE;
-
c = devtab[c->type]->open(c, omode&~OCEXEC);
if(omode & OCEXEC)