ref: 199f090b6a09300bb3acc9a70ee09602f51071a0
parent: 372d359e2884e92666f6ebe28d50ede5c7343a5c
author: qwx <devnull@localhost>
date: Sat Mar 17 07:25:27 EDT 2018
devfs: revert commit 4000 induces a kernel panic under normal circumstances
--- a/sys/src/9/port/devfs.c
+++ b/sys/src/9/port/devfs.c
@@ -740,6 +740,7 @@
/* only read config file once */
if (configed)
return;
+ configed = 1;
dprint("rdconf\n");
/* add the std "fs" tree */
@@ -791,7 +792,6 @@
e++;
mconfig(p, e - p);
}
- configed = 1;
poperror();
free(c);