]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
f2fs: add testcase to check resize corrupting root inode
authorYangyang Zang <zangyangyang66@gmail.com>
Thu, 19 Mar 2026 03:35:19 +0000 (11:35 +0800)
committerZorro Lang <zlang@kernel.org>
Tue, 31 Mar 2026 19:40:34 +0000 (03:40 +0800)
commit39b31fe6e746ada86179ecb698d7f891d633218a
treee9b5bcc393ab88c5218a77611da291c3c2a1cb45
parent271d7a1257f762a4fff2c8cc433b86cc6dd1320b
f2fs: add testcase to check resize corrupting root inode

This is a regression test to check whether the f2fs root inode
is corrupted after the resize operation.
During the resize operation, SSA data blocks are migrated and
zeroed. This process may incorrectly zero out the main area
blocks, leading to root inode corruption.

Cc: Jaegeuk Kim <jaegeuk@kernel.org>
Cc: Chao Yu <chao@kernel.org>
Signed-off-by: Yangyang Zang <zangyangyang1@xiaomi.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/f2fs/024 [new file with mode: 0644]
tests/f2fs/024.out [new file with mode: 0644]