summaryrefslogtreecommitdiff
path: root/src/kernel/vfs
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/vfs')
-rw-r--r--src/kernel/vfs/mount.c2
-rw-r--r--src/kernel/vfs/path.c1
-rw-r--r--src/kernel/vfs/root.c2
3 files changed, 3 insertions, 2 deletions
diff --git a/src/kernel/vfs/mount.c b/src/kernel/vfs/mount.c
index b6b3e8d..c962ba5 100644
--- a/src/kernel/vfs/mount.c
+++ b/src/kernel/vfs/mount.c
@@ -1,6 +1,6 @@
#include <kernel/mem/alloc.h>
-#include <kernel/util.h>
#include <kernel/vfs/mount.h>
+#include <shared/mem.h>
struct vfs_mount *vfs_mount_seed(void) {
struct vfs_mount *mount = kmalloc(sizeof *mount);
diff --git a/src/kernel/vfs/path.c b/src/kernel/vfs/path.c
index 096d3fe..df5f00f 100644
--- a/src/kernel/vfs/path.c
+++ b/src/kernel/vfs/path.c
@@ -1,5 +1,6 @@
#include <kernel/vfs/path.h>
#include <kernel/panic.h>
+#include <shared/mem.h>
int path_simplify(const char *in, char *out, size_t len) {
if (len == 0) return -1; // empty paths are invalid
diff --git a/src/kernel/vfs/root.c b/src/kernel/vfs/root.c
index 834bed7..adf1bfe 100644
--- a/src/kernel/vfs/root.c
+++ b/src/kernel/vfs/root.c
@@ -1,8 +1,8 @@
#include <kernel/mem/virt.h>
#include <kernel/panic.h>
#include <kernel/proc.h>
-#include <kernel/util.h>
#include <kernel/vfs/root.h>
+#include <shared/mem.h>
enum {
HANDLE_ROOT,