X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=include%2Fext4fs.h;h=24293803966297480b268145840ad2a8f8a34b64;hb=ad9f072c2e3b6b4b198f171cb1ba6c0e7fc3e06e;hp=025a2e89c2342d2668e22ca389bb516d46fc0244;hpb=e6d5241534486effa116bf685f7707041492ec7b;p=karo-tx-uboot.git diff --git a/include/ext4fs.h b/include/ext4fs.h index 025a2e89c2..2429380396 100644 --- a/include/ext4fs.h +++ b/include/ext4fs.h @@ -135,10 +135,11 @@ int ext4fs_mount(unsigned part_length); void ext4fs_close(void); int ext4fs_ls(const char *dirname); void ext4fs_free_node(struct ext2fs_node *node, struct ext2fs_node *currroot); -int ext4fs_devread(int sector, int byte_offset, int byte_len, char *buf); +int ext4fs_devread(lbaint_t sector, int byte_offset, int byte_len, char *buf); void ext4fs_set_blk_dev(block_dev_desc_t *rbdd, disk_partition_t *info); long int read_allocated_block(struct ext2_inode *inode, int fileblock); int ext4fs_probe(block_dev_desc_t *fs_dev_desc, disk_partition_t *fs_partition); int ext4_read_file(const char *filename, void *buf, int offset, int len); +int ext4_read_superblock(char *buffer); #endif