From e3a8099343aac9d94f411638ad84632d4b620132 Mon Sep 17 00:00:00 2001 From: Miguel Date: Mon, 15 Oct 2018 16:29:50 +0200 Subject: cleanup sys/ etc --- fs/ext2.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'fs/ext2.h') diff --git a/fs/ext2.h b/fs/ext2.h index 524f8fd..c3b5067 100644 --- a/fs/ext2.h +++ b/fs/ext2.h @@ -15,7 +15,7 @@ */ #include -#include "interface/fs.h" +#include /** klog some basic info about the ext2 fs */ void ext2_dump_info(uint32_t ext2_start_addr); @@ -25,9 +25,9 @@ uint32_t ext2_read_inode(uint32_t ext2_start_addr, int inode_nr, char *buf, uint /** Simiilar to ext2_read_inode but for directory inodes. * the inode number needs to point to a directory inode - * fills on fs_dirent and sets _pos_ to the position of the next + * fills on dirent and sets _pos_ to the position of the next */ -int ext2_read_dir(uint32_t ext2_start_addr, int inode_nr, fs_dirent *dirs, uint32_t *pos); +int ext2_read_dir(uint32_t ext2_start_addr, int inode_nr, struct dirent *dirs, uint32_t *pos); /** get inode number from file path / if not found return 0 */ uint32_t ext2_filename_to_inode(uint32_t ext2_start_addr, char *path); -- cgit v1.2.3