From 613de4db61dd99e7d2049b0a303e167fa711030b Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sat, 4 Sep 2021 19:34:51 +0200 Subject: new vfs impl pt. 1: implement open() --- src/kernel/vfs/mount.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/kernel/vfs/mount.h') 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 +#include +#include 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); - -- cgit v1.2.3