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/vfs/mount.c | |
parent | 26849aa2b3f49cbad8be4688800667e2d89aa5db (diff) |
kernel/vfs: don't hang on orphaned vfs calls
Diffstat (limited to 'src/kernel/vfs/mount.c')
-rw-r--r-- | src/kernel/vfs/mount.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kernel/vfs/mount.c b/src/kernel/vfs/mount.c index c962ba5..423bf10 100644 --- a/src/kernel/vfs/mount.c +++ b/src/kernel/vfs/mount.c @@ -6,6 +6,7 @@ struct vfs_mount *vfs_mount_seed(void) { struct vfs_mount *mount = kmalloc(sizeof *mount); struct vfs_backend *backend = kmalloc(sizeof *backend); backend->type = VFS_BACK_ROOT; + backend->potential_handlers = 1; *mount = (struct vfs_mount){ .prev = NULL, .prefix = "", |