diff options
| author | Zhiguo Niu <[email protected]> | 2023-10-16 11:27:31 +0000 |
|---|---|---|
| committer | Jaegeuk Kim <[email protected]> | 2023-10-16 19:52:39 +0000 |
| commit | a5e80e18f268ea7c7a36bc4159de0deb3b5a2171 (patch) | |
| tree | 508e86135da005caa3221fe3532a8a0aa975dbf5 /lib/test-string_helpers.c | |
| parent | f2fs: Clean up errors in segment.h (diff) | |
| download | kernel-a5e80e18f268ea7c7a36bc4159de0deb3b5a2171.tar.gz kernel-a5e80e18f268ea7c7a36bc4159de0deb3b5a2171.zip | |
f2fs: fix error path of __f2fs_build_free_nids
If NAT is corrupted, let scan_nat_page() return EFSCORRUPTED, so that,
caller can set SBI_NEED_FSCK flag into checkpoint for later repair by
fsck.
Also, this patch introduces a new fscorrupted error flag, and in above
scenario, it will persist the error flag into superblock synchronously
to avoid it has no luck to trigger a checkpoint to record SBI_NEED_FSCK
Signed-off-by: Zhiguo Niu <[email protected]>
Signed-off-by: Chao Yu <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions
