All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] btrfs/254: correct subject of the relevant kernel patch and add git commit
@ 2023-05-10 11:48 fdmanana
  2023-05-10 12:05 ` Anand Jain
  0 siblings, 1 reply; 2+ messages in thread
From: fdmanana @ 2023-05-10 11:48 UTC (permalink / raw
  To: fstests; +Cc: linux-btrfs, Filipe Manana

From: Filipe Manana <fdmanana@suse.com>

The top comment of test btrfs/254 mentions a kernel patch with a subject
of:

   "btrfs: harden identification of the stale device"

but that is actually not correct, as the subject was slightly changed when
the patch was picked to:

   "btrfs: harden identification of a stale device"

So fix that by removing the comment and use instead a call to
_fixed_by_kernel_commit, which also allows us to specify git commit id.

Signed-off-by: Filipe Manana <fdmanana@suse.com>
---
 tests/btrfs/254 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/btrfs/254 b/tests/btrfs/254
index ae55ae8c..a358e374 100755
--- a/tests/btrfs/254
+++ b/tests/btrfs/254
@@ -7,9 +7,6 @@
 #
 # Test if the kernel can free the stale device entries.
 #
-# Tests bug fixed by the kernel patch:
-#	btrfs: harden identification of the stale device
-#
 . ./common/preamble
 _begin_fstest auto quick volume
 
@@ -42,6 +39,9 @@ _require_scratch_nocheck
 _require_command "$WIPEFS_PROG" wipefs
 _check_minimal_fs_size $((1024 * 1024 * 1024))
 
+_fixed_by_kernel_commit 770c79fb6550 \
+	"btrfs: harden identification of a stale device"
+
 _scratch_dev_pool_get 3
 
 setup_dmdev()
-- 
2.35.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] btrfs/254: correct subject of the relevant kernel patch and add git commit
  2023-05-10 11:48 [PATCH] btrfs/254: correct subject of the relevant kernel patch and add git commit fdmanana
@ 2023-05-10 12:05 ` Anand Jain
  0 siblings, 0 replies; 2+ messages in thread
From: Anand Jain @ 2023-05-10 12:05 UTC (permalink / raw
  To: fdmanana, fstests; +Cc: linux-btrfs, Filipe Manana

Reviewed-by: Anand Jain <anand.jain@oracle.com>

Thanks

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-05-10 12:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-10 11:48 [PATCH] btrfs/254: correct subject of the relevant kernel patch and add git commit fdmanana
2023-05-10 12:05 ` Anand Jain

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.