From f9c737c200f7edebdaaa5f562c72d6181f4281c8 Mon Sep 17 00:00:00 2001 From: Bruce Leidl Date: Mon, 16 Oct 2017 04:12:16 +0000 Subject: [PATCH] Oops, don't mount the tmpfs twice when setting up the overlay --- kernel/init/init.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/init/init.c b/kernel/init/init.c index 3b410a0..21ab5e3 100644 --- a/kernel/init/init.c +++ b/kernel/init/init.c @@ -59,7 +59,6 @@ static void move_mount(const char *source, const char *target) { static void setup_overlay(void) { mount_tmpfs("/tmp"); - mount("tmpfs", "/tmp", "tmpfs", 0, "mode=755"); do_mkdir("/tmp/ro"); do_mkdir("/tmp/rw"); mount_tmpfs("/tmp/rw");