From d866af976999cdcc3c548b4bf5baa865942e895f Mon Sep 17 00:00:00 2001 From: Filipe Manana Date: Thu, 29 May 2025 12:13:41 +0100 Subject: [PATCH] fstests: add kernel commit IDs to some tests The kernel fixes exercised by some tests have already landed in Linus' tree, so update the tests with the respective commit IDs. Signed-off-by: Filipe Manana Reviewed-by: Zorro Lang Signed-off-by: Zorro Lang --- tests/f2fs/011 | 2 +- tests/generic/370 | 2 +- tests/generic/761 | 3 ++- tests/generic/764 | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/tests/f2fs/011 b/tests/f2fs/011 index ec3d39ec..c21cb586 100755 --- a/tests/f2fs/011 +++ b/tests/f2fs/011 @@ -23,7 +23,7 @@ _begin_fstest auto quick _fixed_by_kernel_commit 48ea8b200414 \ "f2fs: fix to avoid panic once fallocation fails for pinfile" -_fixed_by_kernel_commit xxxxxxxxxxxx \ +_fixed_by_kernel_commit f7f8932ca6bb \ "f2fs: fix to avoid running out of free segments" _require_scratch diff --git a/tests/generic/370 b/tests/generic/370 index cbc18644..d9ba6c57 100755 --- a/tests/generic/370 +++ b/tests/generic/370 @@ -21,7 +21,7 @@ _cleanup() [ "$FSTYP" = "btrfs" ] && _fixed_by_kernel_commit 03018e5d8508 \ "btrfs: fix swap file activation failure due to extents that used to be shared" -[ "$FSTYP" = "xfs" ] && _fixed_by_kernel_commit XXXXXXXXXXXX \ +[ "$FSTYP" = "xfs" ] && _fixed_by_kernel_commit 2d873efd174b \ "xfs: flush inodegc before swapon" _require_scratch_swapfile diff --git a/tests/generic/761 b/tests/generic/761 index 9406a4b8..bd7b02a9 100755 --- a/tests/generic/761 +++ b/tests/generic/761 @@ -18,7 +18,8 @@ _begin_fstest auto quick _require_scratch _require_odirect _require_test_program dio-writeback-race -_fixed_by_kernel_commit XXXXXXXX \ + +[ "$FSTYP" = "btrfs" ] && _fixed_by_kernel_commit 968f19c5b1b7 \ "btrfs: always fallback to buffered write if the inode requires checksum" _scratch_mkfs > $seqres.full 2>&1 diff --git a/tests/generic/764 b/tests/generic/764 index 1b21bc02..55937fc0 100755 --- a/tests/generic/764 +++ b/tests/generic/764 @@ -20,7 +20,7 @@ _cleanup() . ./common/dmflakey -[ "$FSTYP" = "btrfs" ] && _fixed_by_kernel_commit xxxxxxxxxxxx \ +[ "$FSTYP" = "btrfs" ] && _fixed_by_kernel_commit 5e85262e542d \ "btrfs: fix fsync of files with no hard links not persisting deletion" _require_scratch -- 2.39.5