Changman Lee 12fc760fd6 f2fs: fix overflow when calculating utilization on 32-bit
Use div_u64 to fix overflow when calculating utilization.
*long int* is 4-bytes on 32-bit so (user blocks * 100) might be
overflow if disk size is over e.g. 512GB.

Signed-off-by: Changman Lee <cm224.lee@samsung.com>
Reviewed-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
2013-03-08 10:02:56 +09:00
..
2012-12-11 13:43:42 +09:00
2013-01-22 10:48:58 +09:00
2013-02-12 07:15:01 +09:00
2013-02-27 16:59:05 -05:00
2012-12-11 13:43:43 +09:00
2012-12-11 13:43:42 +09:00
2013-02-12 07:28:55 +09:00
2012-12-11 13:43:42 +09:00
2012-12-11 13:43:42 +09:00