mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
fs/ext4: Support device block sizes != 512 bytes
The 512 byte block size was hard coded in the ext4 file systems. Large harddisks today support bigger block sizes typically 4096 bytes. This patch removes this limitation. Signed-off-by: Egbert Eich <eich@suse.com>
This commit is contained in:
parent
b1e6c4c3d4
commit
50ce4c07df
8 changed files with 95 additions and 76 deletions
|
@ -141,4 +141,5 @@ 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue