diff options
| author | Michal Idziorek <m.i@gmx.at> | 2014-11-26 23:17:55 +0100 |
|---|---|---|
| committer | Michal Idziorek <m.i@gmx.at> | 2014-11-26 23:17:55 +0100 |
| commit | 7393db6692c861bc66164c0dd9b83f23a554775b (patch) | |
| tree | d60c9deb33630d5fb6117c7c1bbc098e62a66f28 /fs | |
| parent | 9c8cfc2e52b0446f7cab14325028075760869b45 (diff) | |
changes, improvements and cleanup
Diffstat (limited to 'fs')
| -rw-r--r-- | fs/ext2.c | 4 | ||||
| -rw-r--r-- | fs/ext2.h | 3 |
2 files changed, 5 insertions, 2 deletions
@@ -4,10 +4,12 @@ #define FOOLOS_MODULE_NAME "ext2" #include <stdbool.h> +#include <stdint.h> -#include "lib/int/stdint.h" +#include "lib/string/string.h" #include "lib/logger/log.h" #include "fs.h" +#include "ext2.h" typedef struct ext2_superblock_struct { @@ -1,5 +1,6 @@ -#include "lib/int/stdint.h" +#include <stdint.h> int ext2_check(uint8_t *ram); int ext2_inode_content(char *ram,int inode_nr,uint8_t *ramdest,int max); int ext2_read_dir(uint8_t *ram, int inode_nr,fs_dirent *dirs,int max); +int ext2_filename_to_inode(uint8_t *ram, char *path); |
