summaryrefslogtreecommitdiff
path: root/fs/ext2.h
diff options
context:
space:
mode:
authorMiguel <m.i@gmx.at>2018-10-15 16:29:50 +0200
committerMiguel <m.i@gmx.at>2018-10-15 16:29:50 +0200
commite3a8099343aac9d94f411638ad84632d4b620132 (patch)
treef0a1f73ab106c17b25fd8a5264a66b6b48e55e48 /fs/ext2.h
parentf35d2124c36f8d39a953b76620e081b79c2faffd (diff)
cleanup sys/ etc
Diffstat (limited to 'fs/ext2.h')
-rw-r--r--fs/ext2.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/ext2.h b/fs/ext2.h
index 524f8fd..c3b5067 100644
--- a/fs/ext2.h
+++ b/fs/ext2.h
@@ -15,7 +15,7 @@
*/
#include <stdint.h>
-#include "interface/fs.h"
+#include <sys/dirent.h>
/** klog some basic info about the ext2 fs */
void ext2_dump_info(uint32_t ext2_start_addr);
@@ -25,9 +25,9 @@ uint32_t ext2_read_inode(uint32_t ext2_start_addr, int inode_nr, char *buf, uint
/** Simiilar to ext2_read_inode but for directory inodes.
* the inode number needs to point to a directory inode
- * fills on fs_dirent and sets _pos_ to the position of the next
+ * fills on dirent and sets _pos_ to the position of the next
*/
-int ext2_read_dir(uint32_t ext2_start_addr, int inode_nr, fs_dirent *dirs, uint32_t *pos);
+int ext2_read_dir(uint32_t ext2_start_addr, int inode_nr, struct dirent *dirs, uint32_t *pos);
/** get inode number from file path / if not found return 0 */
uint32_t ext2_filename_to_inode(uint32_t ext2_start_addr, char *path);