diff options
| author | Miguel <m.i@gmx.at> | 2018-10-15 16:29:50 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-10-15 16:29:50 +0200 |
| commit | e3a8099343aac9d94f411638ad84632d4b620132 (patch) | |
| tree | f0a1f73ab106c17b25fd8a5264a66b6b48e55e48 /fs/ext2.h | |
| parent | f35d2124c36f8d39a953b76620e081b79c2faffd (diff) | |
cleanup sys/ etc
Diffstat (limited to 'fs/ext2.h')
| -rw-r--r-- | fs/ext2.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); |
