From fdf6100721870780319bc7cc766a0bb5b4789965 Mon Sep 17 00:00:00 2001 From: Miguel Date: Fri, 14 Sep 2018 20:23:24 +0200 Subject: ext2 improved , struggling with scheduler --- fs/fs.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'fs/fs.h') diff --git a/fs/fs.h b/fs/fs.h index 7d51e86..f5c9a6e 100644 --- a/fs/fs.h +++ b/fs/fs.h @@ -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); -- cgit v1.2.3