]> git.lizzy.rs Git - plan9front.git/commitdiff
devfs: revert commit 4000
authorqwx <devnull@localhost>
Sat, 17 Mar 2018 09:25:27 +0000 (11:25 +0200)
committerqwx <devnull@localhost>
Sat, 17 Mar 2018 09:25:27 +0000 (11:25 +0200)
induces a kernel panic under normal circumstances

sys/src/9/port/devfs.c

index e4317b991c349ea6fdf1b2516c5cae2640f95a47..e5d1abe2fcb33b20d6fd4bdbf5a8157e9385334b 100644 (file)
@@ -740,6 +740,7 @@ rdconf(void)
        /* only read config file once */
        if (configed)
                return;
+       configed = 1;
 
        dprint("rdconf\n");
        /* add the std "fs" tree */
@@ -791,7 +792,6 @@ rdconf(void)
                        e++;
                mconfig(p, e - p);
        }
-       configed = 1;
        poperror();
        free(c);