]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfs: test xfs_db whether still can get corrupted field value
authorYang Xu <xuyang2018.jy@fujitsu.com>
Tue, 19 Jul 2022 08:31:13 +0000 (16:31 +0800)
committerZorro Lang <zlang@kernel.org>
Sun, 31 Jul 2022 14:06:05 +0000 (22:06 +0800)
commitb994a3bc4395a4ae485cb3fb9e4e78d1c4a60271
tree3d0f236c041ab55ac68912529b08ad178812652c
parent196721f3b73035dc8d10c8bc89096046d9b6a7ac
xfs: test xfs_db whether still can get corrupted field value

This is a regression test that xfs_db code doesn't clean up the
LIBXFS_READBUF_SALVAGE call sites in set_cur so that we can't use the
return value directly and scraping it out later.

Signed-off-by: Yang Xu <xuyang2018.jy@fujitsu.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/xfs/533 [new file with mode: 0755]
tests/xfs/533.out [new file with mode: 0644]