aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorJaegeuk Kim <[email protected]>2013-09-03 13:41:37 +0900
committerJaegeuk Kim <[email protected]>2013-09-03 13:41:37 +0900
commit222cbdc4835f8151b886b049d6ad56b18f88d470 (patch)
treee691abcacb3c28bae55dfd8896e3a2662cd6936e /tools/perf/util/trace-event-scripting.c
parentc34e333fd5ca41317c3dab69ed8a212acacd4aeb (diff)
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: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions