diff options
author | Chao Yu <yuchao0@huawei.com> | 2017-08-07 23:12:46 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2017-08-15 10:40:14 -0700 |
commit | b8c502b81e3f899c6488967dec61eed0f5907db3 (patch) | |
tree | ec5f157c9804945eb46dc13b2fc3ab58d9e03bc6 /lib/iommu-helper.c | |
parent | 9a20d391cd099d547c0f17626bf6f13e06da519a (diff) |
f2fs: fix potential overflow when adjusting GC cycle
While comparing signed and unsigned variables, compiler will converts the
signed value to unsigned one, due to this reason, {in,de}crease_sleep_time
may return overflowed result.
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'lib/iommu-helper.c')
0 files changed, 0 insertions, 0 deletions