diff options
author | 2023-11-16 14:25:56 +0800 | |
---|---|---|
committer | 2023-11-17 09:31:27 -0800 | |
commit | 956fa1ddc132e028f3b7d4cf17e6bfc8cb36c7fd (patch) | |
tree | 46979e8439bba29f3c9cbb3b00a01920df8d3a82 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f2fs: use shared inode lock during f2fs_fiemap() (diff) | |
download | linux-rng-956fa1ddc132e028f3b7d4cf17e6bfc8cb36c7fd.tar.xz linux-rng-956fa1ddc132e028f3b7d4cf17e6bfc8cb36c7fd.zip |
f2fs: fix to check return value of f2fs_reserve_new_block()
Let's check return value of f2fs_reserve_new_block() in do_recover_data()
rather than letting it fails silently.
Also refactoring check condition on return value of f2fs_reserve_new_block()
as below:
- trigger f2fs_bug_on() only for ENOSPC case;
- use do-while statement to avoid redundant codes;
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions