u-boot-brain/fs
Frederic Leroy 04735e9c55 Fix ext2/ext4 filesystem accesses beyond 2TiB
With CONFIG_SYS_64BIT_LBA, lbaint_t gets defined as a 64-bit type,
which is required to represent block numbers for storage devices that
exceed 2TiB (the block size usually is 512B), e.g. recent hard drives

We now use lbaint_t for partition offset to reflect the lbaint_t change,
and access partitions beyond or crossing the 2.1TiB limit.
This required changes to signature of ext4fs_devread(), and type of all
variables relatives to block sector.

ext2/ext4 fs uses logical block represented by a 32 bit value. Logical
block is a multiple of device block sector. To avoid overflow problem
when calling ext4fs_devread(), we need to cast the sector parameter.

Signed-off-by: Frédéric Leroy <fredo@starox.org>
2013-07-15 17:06:13 -04:00
..
cbfs cbfs: Remove mention of CREDITS files 2012-12-06 13:56:38 -07:00
cramfs cramfs: fix bug for wrong filename comparison 2013-07-15 17:06:09 -04:00
ext4 Fix ext2/ext4 filesystem accesses beyond 2TiB 2013-07-15 17:06:13 -04:00
fat fs/fat: Don't multiply fatsize with sector size 2013-05-01 16:24:02 -04:00
fdos Convert ISO-8859 files to UTF-8 2011-08-04 23:34:02 +02:00
jffs2 linux/compat.h: rename from linux/mtd/compat.h 2012-04-30 16:54:51 +02:00
reiserfs cmd_reiser: use common get_device_and_partition function 2012-09-25 14:49:18 -07:00
sandbox sandbox: fs: Add support for saving files to host filesystem 2013-05-01 11:17:21 -04:00
ubifs ubi: ubifs: Turn off verbose prints 2013-04-11 15:52:54 -04:00
yaffs2 mtd: resync with Linux-3.7.1 2013-05-31 17:12:03 -05:00
zfs fs: zfs: fix illegal use of fp 2012-11-14 13:18:41 +01:00
fs.c sandbox: fs: Add support for saving files to host filesystem 2013-05-01 11:17:21 -04:00
Makefile fs: add filesystem switch libary, implement ls and fsload commands 2012-10-29 14:21:20 -07:00