diff options
Diffstat (limited to 'src/kernel/vfs')
-rw-r--r-- | src/kernel/vfs/mount.c | 4 | ||||
-rw-r--r-- | src/kernel/vfs/mount.h | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/kernel/vfs/mount.c b/src/kernel/vfs/mount.c index d9d9d6d..9d66f0b 100644 --- a/src/kernel/vfs/mount.c +++ b/src/kernel/vfs/mount.c @@ -3,7 +3,7 @@ #include <kernel/vfs/mount.h> struct vfs_mount *vfs_mount_seed(void) { - struct vfs_mount *mount = kmalloc(sizeof(struct vfs_mount)); + struct vfs_mount *mount = NULL; /*kmalloc(sizeof(struct vfs_mount)); *mount = (struct vfs_mount){ .prev = NULL, .prefix = "/tty", @@ -11,7 +11,7 @@ struct vfs_mount *vfs_mount_seed(void) { .handle = { .type = HANDLE_SPECIAL_TTY, }, - }; + };*/ return mount; } diff --git a/src/kernel/vfs/mount.h b/src/kernel/vfs/mount.h index d70d30a..b7029cd 100644 --- a/src/kernel/vfs/mount.h +++ b/src/kernel/vfs/mount.h @@ -5,7 +5,6 @@ struct vfs_mount { struct vfs_mount *prev; char *prefix; size_t prefix_len; - struct handle handle; }; // prepares init's filesystem view |