summaryrefslogtreecommitdiff
path: root/src/kernel/vfs
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/vfs')
-rw-r--r--src/kernel/vfs/mount.c4
-rw-r--r--src/kernel/vfs/mount.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/kernel/vfs/mount.c b/src/kernel/vfs/mount.c
index bd06370..d9d9d6d 100644
--- a/src/kernel/vfs/mount.c
+++ b/src/kernel/vfs/mount.c
@@ -8,8 +8,8 @@ struct vfs_mount *vfs_mount_seed(void) {
.prev = NULL,
.prefix = "/tty",
.prefix_len = 4,
- .fd = {
- .type = FD_SPECIAL_TTY,
+ .handle = {
+ .type = HANDLE_SPECIAL_TTY,
},
};
return mount;
diff --git a/src/kernel/vfs/mount.h b/src/kernel/vfs/mount.h
index 51990a1..d70d30a 100644
--- a/src/kernel/vfs/mount.h
+++ b/src/kernel/vfs/mount.h
@@ -1,11 +1,11 @@
#pragma once
-#include <kernel/fd.h>
+#include <kernel/handle.h>
struct vfs_mount {
struct vfs_mount *prev;
char *prefix;
size_t prefix_len;
- struct fd fd;
+ struct handle handle;
};
// prepares init's filesystem view