X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fext4fs.h;h=cb5d9cc0a5c050dcc0fa33b22eb72c4a8555205d;hb=a17930a36c92ad2adc06b583ccd9b7af6c626432;hp=34585d407d06d9aa861ace1144af627163b77554;hpb=5efc0686eebc0c0daabfbfc2c403f8251b468526;p=oweals%2Fu-boot.git diff --git a/include/ext4fs.h b/include/ext4fs.h index 34585d407d..cb5d9cc0a5 100644 --- a/include/ext4fs.h +++ b/include/ext4fs.h @@ -28,6 +28,8 @@ #define __EXT4__ #include +struct disk_partition; + #define EXT4_INDEX_FL 0x00001000 /* Inode uses hash tree index */ #define EXT4_EXTENTS_FL 0x00080000 /* Inode uses extents */ #define EXT4_EXT_MAGIC 0xf30a @@ -152,11 +154,11 @@ int ext4fs_exists(const char *filename); int ext4fs_size(const char *filename, loff_t *size); void ext4fs_free_node(struct ext2fs_node *node, struct ext2fs_node *currroot); int ext4fs_devread(lbaint_t sector, int byte_offset, int byte_len, char *buf); -void ext4fs_set_blk_dev(struct blk_desc *rbdd, disk_partition_t *info); +void ext4fs_set_blk_dev(struct blk_desc *rbdd, struct disk_partition *info); long int read_allocated_block(struct ext2_inode *inode, int fileblock, struct ext_block_cache *cache); int ext4fs_probe(struct blk_desc *fs_dev_desc, - disk_partition_t *fs_partition); + struct disk_partition *fs_partition); int ext4_read_file(const char *filename, void *buf, loff_t offset, loff_t len, loff_t *actread); int ext4_read_superblock(char *buffer);