summaryrefslogtreecommitdiff
path: root/include/ext4fs.h
diff options
context:
space:
mode:
authorEgbert Eich <eich@suse.com>2013-05-01 01:13:19 (GMT)
committerTom Rini <trini@ti.com>2013-05-10 12:16:33 (GMT)
commit50ce4c07df1c98aabf4630b35152ed95a87242f7 (patch)
treec7e506ab5bcb2839a697cb0a89faa3244077cf69 /include/ext4fs.h
parentb1e6c4c3d4a2b394096766d959aaa9b51a38099b (diff)
downloadu-boot-fsl-qoriq-50ce4c07df1c98aabf4630b35152ed95a87242f7.tar.xz
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>
Diffstat (limited to 'include/ext4fs.h')
-rw-r--r--include/ext4fs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ext4fs.h b/include/ext4fs.h
index 025a2e8..379f7eb 100644
--- a/include/ext4fs.h
+++ b/include/ext4fs.h
@@ -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