diff options
Diffstat (limited to 'fs/ext2.c')
| -rw-r--r-- | fs/ext2.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1,9 +1,11 @@ +#include "ext2.h" + #include <stdbool.h> #include <stdint.h> + #include "mount.h" #include "kernel.h" -#include "ext2.h" #include "log.h" @@ -37,7 +39,8 @@ typedef struct ext2_superblock_struct uint16_t gid_reserved; }ext2_superblock; -/* we dont use this +/* we dont use this for now */ +/* typedef struct ext2_superblock_ext_struct { uint32_t first_inode; @@ -268,7 +271,6 @@ uint32_t ext2_read_inode(uint32_t ext2_start_addr, int inode_nr, char *buf, uint } return count; - } int ext2_read_dir(uint32_t ext2_start_addr, int inode_nr, fs_dirent *dirs, uint32_t *pos) |
