summaryrefslogtreecommitdiff
path: root/fs/fs.h
diff options
context:
space:
mode:
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);