diff options
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); |
