summaryrefslogtreecommitdiff
path: root/src/kernel/vfs/mount.h
diff options
context:
space:
mode:
authordzwdz2021-09-04 19:34:51 +0200
committerdzwdz2021-09-04 19:34:51 +0200
commit613de4db61dd99e7d2049b0a303e167fa711030b (patch)
tree84b577c30aac3ac7f8360fcc7aa78f7d29479538 /src/kernel/vfs/mount.h
parentc4531fa5e1aa16b7ba74de2975eadf06b3052b78 (diff)
new vfs impl pt. 1: implement open()
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);
-