summaryrefslogtreecommitdiff
path: root/fs/fs.h
diff options
context:
space:
mode:
authorMiguel <m.i@gmx.at>2018-09-14 20:23:24 +0200
committerMiguel <m.i@gmx.at>2018-09-14 20:23:24 +0200
commitfdf6100721870780319bc7cc766a0bb5b4789965 (patch)
treef30ff5b21ee557ec5dcd5ccddb7b2a1abc46db1c /fs/fs.h
parent1195ca0bd84693fd56f6d34a9f2de3107b9820bf (diff)
ext2 improved , struggling with scheduler
Diffstat (limited to 'fs/fs.h')
-rw-r--r--fs/fs.h6
1 files changed, 2 insertions, 4 deletions
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);