Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 222cbdc4 authored by Jaegeuk Kim's avatar Jaegeuk Kim
Browse files

f2fs: avoid an overflow during utilization calculation



The current f2fs uses all the block counts with 32 bit numbers, which is able to
cover about 15TB volume.

But in calculation of utilization, f2fs multiplies the count by 100 which can
induce overflow.
This patch fixes this.

Signed-off-by: default avatarJaegeuk Kim <jaegeuk.kim@samsung.com>
parent c34e333f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment