From 40b98b3eb3f897d3d12199c79b30e2fd9151baf9 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Tue, 21 Apr 2020 14:18:20 +0200 Subject: Added very basic vfs --- src/kernel/fs/ext2.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/kernel/fs/ext2.h') diff --git a/src/kernel/fs/ext2.h b/src/kernel/fs/ext2.h index e5e0f1c..f3ea4a0 100644 --- a/src/kernel/fs/ext2.h +++ b/src/kernel/fs/ext2.h @@ -4,6 +4,7 @@ #include #include #include +#include #define ROOT_INODE 2 @@ -137,4 +138,6 @@ bool ext2_next_dirent(struct ext2_file *file, struct ext2_dirent *dir); uint32_t ext2_find_in_dir(uint32_t dir_inode, const char *name); uint32_t ext2_look_up_path(char *path); -#endif \ No newline at end of file +void ext2_mount(struct fs_node *mountpoint); + +#endif -- cgit v1.2.3