diff options
author | 2021-04-02 17:22:23 +0800 | |
---|---|---|
committer | 2021-04-06 07:18:31 -0700 | |
commit | 25ae837e61dee712b4b1df36602ebfe724b2a0b6 (patch) | |
tree | 38667d23d8a4df39a7d8836e5a21188e8f955b3f /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | f2fs: fix to avoid GC/mmap race with f2fs_truncate() (diff) | |
download | linux-rng-25ae837e61dee712b4b1df36602ebfe724b2a0b6.tar.xz linux-rng-25ae837e61dee712b4b1df36602ebfe724b2a0b6.zip |
f2fs: fix to avoid accessing invalid fio in f2fs_allocate_data_block()
Callers may pass fio parameter with NULL value to f2fs_allocate_data_block(),
so we should make sure accessing fio's field after fio's validation check.
Fixes: f608c38c59c6 ("f2fs: clean up parameter of f2fs_allocate_data_block()")
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions