fs/ext4/ext4fs.c, fs/fs.c fs/fat/fat_write.c: Adjust 64bit math methods
authorTom Rini <trini@ti.com>
Mon, 24 Nov 2014 16:50:46 +0000 (11:50 -0500)
committerTom Rini <trini@ti.com>
Mon, 1 Dec 2014 20:21:57 +0000 (15:21 -0500)
commit9e374e7b729dc9f68be89cd3e3b1d4d48c768ecf
tree159d3795f8fd20087fa4123a26c3e2efdde02121
parente17e998d7fee2e7d381b7bff21aca3714387d5d7
fs/ext4/ext4fs.c, fs/fs.c fs/fat/fat_write.c: Adjust 64bit math methods

The changes to introduce loff_t into filesize means that we need to do
64bit math on 32bit platforms.  Make sure we use the right wrappers for
these operations.

Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Cc: Suriyan Ramasami <suriyan.r@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Rini <trini@ti.com>
Tested-by: Pierre Aubert <p.aubert@staubli.com>
fs/ext4/ext4fs.c
fs/fat/fat_write.c
fs/fs.c