summaryrefslogtreecommitdiff
path: root/src/kernel/vfs/mount.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/vfs/mount.h')
-rw-r--r--src/kernel/vfs/mount.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/kernel/vfs/mount.h b/src/kernel/vfs/mount.h
index b7029cd..ac55184 100644
--- a/src/kernel/vfs/mount.h
+++ b/src/kernel/vfs/mount.h
@@ -1,14 +1,15 @@
#pragma once
-#include <kernel/handle.h>
+#include <kernel/vfs/backend.h>
+#include <stddef.h>
struct vfs_mount {
struct vfs_mount *prev;
char *prefix;
size_t prefix_len;
+ struct vfs_backend *backend;
};
// prepares init's filesystem view
struct vfs_mount *vfs_mount_seed(void);
struct vfs_mount *vfs_mount_resolve(
struct vfs_mount *top, const char *path, size_t path_len);
-