summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMa Haijun <mahaijuns@gmail.com>2014-01-08 08:15:33 +0800
committerTom Rini <trini@ti.com>2014-01-20 10:09:38 -0500
commit0550870b1c590be6beb09b57762ec43b5516f7d1 (patch)
tree60b432add71bb6c1603fce7f486267c34e099074 /doc
parentf17828830df0d83c680f1703e491ac12703a3d19 (diff)
downloadtalos-obmc-uboot-0550870b1c590be6beb09b57762ec43b5516f7d1.tar.gz
talos-obmc-uboot-0550870b1c590be6beb09b57762ec43b5516f7d1.zip
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>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud