u-boot/fs/ext4
Ma Haijun 0550870b1c fs/ext4: fix calling put_ext4 with truncated offset
Curently, we are using 32 bit multiplication to calculate the offset,
so the result will always be 32 bit.
This can silently cause file system corruption when performing a write
operation on partition larger than 4 GiB.

This patch address the issue by simply promoting the terms to 64 bit,
and let compilers decide how to do the multiplication efficiently.

Signed-off-by: Ma Haijun <mahaijuns@gmail.com>
2014-01-20 10:09:38 -05:00
..
crc16.c ext4fs write support 2012-08-09 23:48:02 +02:00
crc16.h ext4fs write support 2012-08-09 23:48:02 +02:00
dev.c fs/ext4: fix partition size get truncated in calculation 2014-01-20 10:09:38 -05:00
ext4_common.c fs/ext4: fix calling put_ext4 with truncated offset 2014-01-20 10:09:38 -05:00
ext4_common.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ext4_journal.c fs/ext4: fix calling put_ext4 with truncated offset 2014-01-20 10:09:38 -05:00
ext4_journal.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ext4_write.c fs/ext4: fix calling put_ext4 with truncated offset 2014-01-20 10:09:38 -05:00
ext4fs.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
Makefile fs: descend into sub directories when it is necessary 2013-11-17 14:11:34 -05:00