diff options
| author | Miguel <m.i@gmx.at> | 2018-09-14 20:23:24 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-09-14 20:23:24 +0200 |
| commit | fdf6100721870780319bc7cc766a0bb5b4789965 (patch) | |
| tree | f30ff5b21ee557ec5dcd5ccddb7b2a1abc46db1c /fs/fs.h | |
| parent | 1195ca0bd84693fd56f6d34a9f2de3107b9820bf (diff) | |
ext2 improved , struggling with scheduler
Diffstat (limited to 'fs/fs.h')
| -rw-r--r-- | fs/fs.h | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -5,7 +5,6 @@ #include "kernel/multiboot.h" enum FS_FILE_TYPE{ - FS_FILE_TYPE_DIR = 1, FS_FILE_TYPE_FILE = 2 }; @@ -13,10 +12,9 @@ enum FS_FILE_TYPE{ typedef struct fs_dirent_struct { uint32_t inode; - uint32_t offset; - uint16_t length; uint8_t type; - char name[256]; + char name[255]; + }fs_dirent; int fs_readdir(const char *name,fs_dirent *dirs,int max); |
