diff options
author | dzwdz | 2021-08-25 14:28:53 +0200 |
---|---|---|
committer | dzwdz | 2021-08-25 14:28:53 +0200 |
commit | ab5150478dd14c1c5b28ca50b36b35e8224df54b (patch) | |
tree | e4998413332229459b7037871924c0d9e811252d /src/kernel/proc.c | |
parent | 3ac131ea956fd62df966bac75e8d7f0c0434d68d (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.c | 3 |
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; |