From ab5150478dd14c1c5b28ca50b36b35e8224df54b Mon Sep 17 00:00:00 2001 From: dzwdz Date: Wed, 25 Aug 2021 14:28:53 +0200 Subject: implement vfs_mount_seed, which creates the vfs passed to init --- src/kernel/proc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/kernel/proc.c') diff --git a/src/kernel/proc.c b/src/kernel/proc.c index c7963f0..022de79 100644 --- a/src/kernel/proc.c +++ b/src/kernel/proc.c @@ -3,6 +3,7 @@ #include #include #include +#include #include #include @@ -17,7 +18,7 @@ struct process *process_seed(void) { proc->sibling = NULL; proc->child = NULL; proc->parent = NULL; - proc->mount = NULL; + proc->mount = vfs_mount_seed(); proc->id = next_pid++; process_first = proc; -- cgit v1.2.3