Skip to content
Commit 3589a919 authored by Jaegeuk Kim's avatar Jaegeuk Kim
Browse files

f2fs: avoid value overflow in showing current status



This patch fixes overflow when do cat /sys/kernel/debug/f2fs/status.
If a section is relatively large, dist value can be overflowed.

Reported-by: default avatarYossi Goldfill <ygoldfill@radianmemory.com>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent 75cd4e09
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment