diff options
| author | Jan Kara <[email protected]> | 2014-10-21 14:07:33 +0200 |
|---|---|---|
| committer | Jaegeuk Kim <[email protected]> | 2014-11-03 16:07:35 -0800 |
| commit | 9bd27ae4aafc9bfee6c8791f7d801ea16cc5622b (patch) | |
| tree | e88cfd25c5552cf04b61930a803635220fcd64cb /tools/perf/scripts/python/sched-migration.py | |
| parent | d64948a4df9f5571b0efa81f71a59bc86d7056a7 (diff) | |
f2fs: avoid returning uninitialized value to userspace from f2fs_trim_fs()
If user specifies too low end sector for trimming, f2fs_trim_fs() will
use uninitialized value as a number of trimmed blocks and returns it to
userspace. Initialize number of trimmed blocks early to avoid the
problem.
Coverity-id: 1248809
CC: [email protected]
Signed-off-by: Jan Kara <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions