diff options
author | Chao Yu <[email protected]> | 2023-04-05 22:45:36 +0800 |
---|---|---|
committer | Jaegeuk Kim <[email protected]> | 2023-04-13 16:37:57 -0700 |
commit | 935fc6fa6466cf18dd72dd1518ebc7bfc4cd58a4 (patch) | |
tree | 1627f8818c8785771acd809fb7fb0fff4617dbc6 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | b851ee6ba3cc212641e622ebcf92b950c7bafa07 (diff) |
f2fs: fix to check return value of inc_valid_block_count()
In __replace_atomic_write_block(), we missed to check return value
of inc_valid_block_count(), for extreme testcase that f2fs image is
run out of space, it may cause inconsistent status in between SIT
table and total valid block count.
Cc: Daeho Jeong <[email protected]>
Fixes: 3db1de0e582c ("f2fs: change the current atomic write way")
Signed-off-by: Chao Yu <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions