fs/ext4: fix partition size get truncated in calculation
authorMa Haijun <mahaijuns@gmail.com>
Tue, 7 Jan 2014 22:49:43 +0000 (06:49 +0800)
committerTom Rini <trini@ti.com>
Mon, 20 Jan 2014 15:09:38 +0000 (10:09 -0500)
commitf17828830df0d83c680f1703e491ac12703a3d19
treea1b6e277818fb7ffffef6a6e0171f1b4247bf53f
parent55ca99f8940e230366cadd522702fac9f962e904
fs/ext4: fix partition size get truncated in calculation

It may cause file system corruption when do a write operation.
This issue only affects boards that use 32 bit lbaint_t.

Signed-off-by: Ma Haijun <mahaijuns@gmail.com>
fs/ext4/dev.c