diff options
| author | Chao Yu <chao@kernel.org> | 2023-11-16 09:25:56 +0300 |
|---|---|---|
| committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2023-11-17 20:31:27 +0300 |
| commit | 956fa1ddc132e028f3b7d4cf17e6bfc8cb36c7fd (patch) | |
| tree | 46979e8439bba29f3c9cbb3b00a01920df8d3a82 /scripts/gdb/linux/symbols.py | |
| parent | 9458915036ddef536d4abdd01b9b3c067f7d7a9f (diff) | |
| download | linux-956fa1ddc132e028f3b7d4cf17e6bfc8cb36c7fd.tar.xz | |
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 'scripts/gdb/linux/symbols.py')
0 files changed, 0 insertions, 0 deletions
