From fd73441fe4950c683699fe38ad59e4541b75e5a7 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Fri, 24 Jul 2020 15:21:36 +0200 Subject: Bug hunting for file reading (ext2 idp recursion) --- src/inc/fs.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/inc/fs.h') diff --git a/src/inc/fs.h b/src/inc/fs.h index e5e1ca7..222939b 100644 --- a/src/inc/fs.h +++ b/src/inc/fs.h @@ -91,7 +91,9 @@ struct file { u32 curr_block_pos; }; -// DEMO ;) -void ls_root(); +int find_inode(const char *name, int dir_inode); +struct inode *get_inode(int i); +void *read_file(struct inode *in); +void ls_root(); // DEMO ;) #endif -- cgit v1.2.3