aboutsummaryrefslogtreecommitdiff
path: root/src/inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/inc')
-rw-r--r--src/inc/fs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/inc/fs.h b/src/inc/fs.h
index b521ca6..775a1ce 100644
--- a/src/inc/fs.h
+++ b/src/inc/fs.h
@@ -8,6 +8,7 @@
#define EXT2_BOOT 0
#define EXT2_SUPER 1
+#define EXT2_ROOT 2
#define EXT2_MAGIC 0x0000EF53
struct superblock {
@@ -95,7 +96,7 @@ struct file {
int find_inode(const char *name, int dir_inode);
struct inode *get_inode(int i);
void *read_inode(struct inode *in);
-void *read_file(const char *name, int dir_inode);
+void *read_file(char *path);
void ls_root(); // DEMO ;)
#endif