diff mbox series

xfs/191: Add missing xfsprogs commit

Message ID 1658982991-3860-1-git-send-email-xuyang2018.jy@fujitsu.com (mailing list archive)
State New, archived
Headers show
Series xfs/191: Add missing xfsprogs commit | expand

Commit Message

Yang Xu (Fujitsu) July 28, 2022, 4:36 a.m. UTC
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>
---
 tests/xfs/191 | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

Comments

Darrick J. Wong July 28, 2022, 3:54 a.m. UTC | #1
On Thu, Jul 28, 2022 at 12:36:31PM +0800, Yang Xu wrote:
> 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>

Yep, thanks.
Reviewed-by: Darrick J. Wong <djwong@kernel.org>

--D

> ---
>  tests/xfs/191 | 7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)
> 
> diff --git a/tests/xfs/191 b/tests/xfs/191
> index c568f90e..a10077fe 100755
> --- a/tests/xfs/191
> +++ b/tests/xfs/191
> @@ -11,9 +11,11 @@
>  # 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
> -- 
> 2.23.0
>
diff mbox series

Patch

diff --git a/tests/xfs/191 b/tests/xfs/191
index c568f90e..a10077fe 100755
--- a/tests/xfs/191
+++ b/tests/xfs/191
@@ -11,9 +11,11 @@ 
 # 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