git: 9front

Download patch

ref: f749436a0e63d28f3993421f62ad60618b1ee994
parent: 5bc03cd0a866c8422f61c7fb6505700169f7ff45
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);
 
--