summaryrefslogtreecommitdiff
path: root/src/kernel/proc.c
diff options
context:
space:
mode:
authordzwdz2021-08-25 14:28:53 +0200
committerdzwdz2021-08-25 14:28:53 +0200
commitab5150478dd14c1c5b28ca50b36b35e8224df54b (patch)
treee4998413332229459b7037871924c0d9e811252d /src/kernel/proc.c
parent3ac131ea956fd62df966bac75e8d7f0c0434d68d (diff)
implement vfs_mount_seed, which creates the vfs passed to init
Diffstat (limited to 'src/kernel/proc.c')
-rw-r--r--src/kernel/proc.c3
1 files changed, 2 insertions, 1 deletions
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 <kernel/panic.h>
#include <kernel/proc.h>
#include <kernel/util.h>
+#include <kernel/vfs/mount.h>
#include <shared/magic.h>
#include <stdint.h>
@@ -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;