]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
f2fs: test sanity check condition w/ error injection
authorChao Yu <chao@kernel.org>
Mon, 3 Nov 2025 06:21:43 +0000 (14:21 +0800)
committerZorro Lang <zlang@kernel.org>
Sat, 15 Nov 2025 08:27:47 +0000 (16:27 +0800)
commitc34a6b5628402972f6c4c34d074de9c15a95aa78
tree5af053cd36d31bd440bbe5d5d704d77a0f230793
parentfaf816b985138ba290284355212fcc4660f7dfa6
f2fs: test sanity check condition w/ error injection

After commit 5c1768b67250 ("f2fs: fix to do sanity check correctly on
i_inline_xattr_size"), f2fs should handle corrupted i_inline_xattr_size
correctly, let's add this regression testcase to check that.

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