]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
xfs/191: Add missing xfsprogs commit
authorYang Xu <xuyang2018.jy@fujitsu.com>
Thu, 28 Jul 2022 04:36:31 +0000 (12:36 +0800)
committerZorro Lang <zlang@kernel.org>
Sun, 31 Jul 2022 14:06:05 +0000 (22:06 +0800)
xfs_repair also needs to think empty xattr leaf block isn't corruption, so
case can pass.

Signed-off-by: Yang Xu <xuyang2018.jy@fujitsu.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/xfs/191

index c568f90e9daf345938498f03a53d805e46259db5..4f0a9b9eeef5d7573b69f15feaac095c651e0dc5 100755 (executable)
 # operations don't stumble over them, and that xfs_repair will offer to remove
 # the entire xattr fork if the root xattr leaf block is empty.
 #
-# Regression test for kernel commit:
-#
+# Regression test for
+# kernel commit:
 # 7be3bd8856fb ("xfs: empty xattr leaf header blocks are not corruption")
+# xfsprogs commit:
+# f50d3462c654 ("xfs_repair: ignore empty xattr leaf blocks")
 #
 . ./common/preamble
 _begin_fstest auto quick attr
@@ -28,6 +30,7 @@ _supported_fs xfs
 _require_scratch
 _require_scratch_xfs_crc # V4 is deprecated
 _fixed_by_kernel_commit 7be3bd8856fb "xfs: empty xattr leaf header blocks are not corruption"
+_fixed_by_git_commit xfsprogs f50d3462c654 "xfs_repair: ignore empty xattr leaf blocks"
 
 _scratch_mkfs_xfs | _filter_mkfs >$seqres.full 2>$tmp.mkfs
 cat $tmp.mkfs >> $seqres.full