git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c34e333
)
f2fs: avoid an overflow during utilization calculation
author
Jaegeuk Kim
<jaegeuk.kim@samsung.com>
Tue, 3 Sep 2013 04:41:37 +0000
(13:41 +0900)
committer
Jaegeuk Kim
<jaegeuk.kim@samsung.com>
Tue, 3 Sep 2013 04:41:37 +0000
(13:41 +0900)
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: Jaegeuk Kim <jaegeuk.kim@samsung.com>
No differences found