diff options
author | dzwdz | 2021-09-04 17:45:42 +0200 |
---|---|---|
committer | dzwdz | 2021-09-04 17:45:42 +0200 |
commit | 400f218cdad6bceaed9843d4d44ab66593da591a (patch) | |
tree | 0271f9caaffd85c41008dac648458d129ef99e58 /src/kernel/vfs | |
parent | 33b5bddebf6d38922c32c17aca481b9f031618b0 (diff) |
nuke the old handle code
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 |