From patchwork Wed May 10 11:48:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Filipe Manana X-Patchwork-Id: 13236840 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1B282C77B7D for ; Wed, 10 May 2023 11:49:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231355AbjEJLtF (ORCPT ); Wed, 10 May 2023 07:49:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231875AbjEJLtE (ORCPT ); Wed, 10 May 2023 07:49:04 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3C4D30F4; Wed, 10 May 2023 04:49:03 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5C01D63C97; Wed, 10 May 2023 11:49:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B60D9C4339B; Wed, 10 May 2023 11:49:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683719342; bh=4PUpitOkXykPs3XaJwLUoqJyjmmIr7h73IhcD55ceh8=; h=From:To:Cc:Subject:Date:From; b=MMzYdwaxOm0mWE+PwnXHTUM0tSEh3amCyap7ooIKI6YTMKZKFmMaMS2IsrVK77w8o Spo73GjDfpyRcA8pO+vyPfDkwOdIwynnKMu9clHKZcfbbjf8GyQd3qN5+nYIyGCy/F CWm6Txzcyvynyt3q19GH2g9djQowXJwkalP1yrXL9hxjcVQ24gtIu1V5IUJoYgQ70S vwt+CmStxX9eNEOiAqRKD68faDb2HDQQo0DKtyQrG+Za1bzM5NICGsZsbytol9q6HV MDjb5xCHsMQqjmlazacsakUWScxaGCVe1Wx6BJQXYdH0YRXEDpnItSb7e47pkfFlT1 Q//QzQT8LGFog== From: fdmanana@kernel.org To: fstests@vger.kernel.org Cc: linux-btrfs@vger.kernel.org, Filipe Manana Subject: [PATCH] btrfs/254: correct subject of the relevant kernel patch and add git commit Date: Wed, 10 May 2023 12:48:29 +0100 Message-Id: <21c4680c4cae24a8428adbc27802b1fba75fd128.1683719290.git.fdmanana@suse.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org From: Filipe Manana 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 Reviewed-by: Anand Jain --- 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()