You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
resize.f2fs: fix to avoid zeroing main area blocks in migrate_ssa()
The `new_seg_total` may be greater than the total number of blocks
in the SSA, which can cause main area blocks to be zeroed out during
SSA migration. This can corrupt the root inode, leading to filesystem
corruption.
Fixes: ad1357c ("f2fs-tools: revert summary entry count from 2048 to 512 in 16kb block support")
Signed-off-by: Yangyang Zang <zangyangyang1@xiaomi.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
0 commit comments