diff options
author | dzwdz | 2022-04-15 23:42:43 +0200 |
---|---|---|
committer | dzwdz | 2022-04-15 23:42:43 +0200 |
commit | 42e4b941b70499f5cf10f41126af1634821d72d5 (patch) | |
tree | 6b56775263837b7883b7a05a7603bc59274ce05d /src/kernel/syscalls.c | |
parent | 26849aa2b3f49cbad8be4688800667e2d89aa5db (diff) |
kernel/vfs: don't hang on orphaned vfs calls
Diffstat (limited to 'src/kernel/syscalls.c')
-rw-r--r-- | src/kernel/syscalls.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kernel/syscalls.c b/src/kernel/syscalls.c index 217fa77..31bd0de 100644 --- a/src/kernel/syscalls.c +++ b/src/kernel/syscalls.c @@ -189,6 +189,7 @@ handle_t _syscall_fs_fork2(void) { backend = kmalloc(sizeof *backend); // TODO never freed backend->type = VFS_BACK_USER; + backend->potential_handlers = 1; backend->handler = NULL; backend->queue = NULL; |