Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp94908iog; Thu, 23 Jun 2022 23:25:28 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tV6TizR9A89RftduWDKtlDSIh2Lc9ETioohNnx3vTfXWbPfJakbvxLDaKMCOI+h3TuvVls X-Received: by 2002:a17:907:97c9:b0:71d:67ea:42ca with SMTP id js9-20020a17090797c900b0071d67ea42camr11534958ejc.7.1656051928144; Thu, 23 Jun 2022 23:25:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656051928; cv=none; d=google.com; s=arc-20160816; b=W1fBm8ZZPjin4EfEVXWbE9wbuVWNPD8bA2+CcmUV/MwN82uqNM1iGyLeivUrQLlSkS wM+Hb3nfpcnHyggc8Q6XD1BF6ZcxzTR7XbQW1Wpp3UiBiXHf8lJw4X/eqFiakcFqLI+E vXNdpD4uqIZj0CG+KQA5hq1R0c69G9tK6Mc4Og12tEs6wIiy9KekLex73oXVGsEDvwbq 3nlFPylhcYRerApAm1dZ2hE5Uwmp7FQMaQS3XKIwQWJ1LGReg66BzijnaPxPx5h55Seq dE9F0w2bKPEPBvgsK76bpuABVI8ChrIIPz+OBTJdvpFbhOKonuw2EbyJ9Fpg0y1wj9++ nGfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=8zS3IsB2SxaWn7FKVotEVa/GMXmNG8HC49Y5sW0xw7I=; b=yN8HzeEY0U6uO2n+q8G2kgGREgT76yg0vzED6AOOZtpsQGWmKjc3+TnXUO6I0fqNdh 0RtSAMAa43Lthi33ladeHwA+Xj3WQ0h20JUk4P0i/mlnxarUganS+rqcdedCkh30P7yp vjwATWhurySKVCKysSQhhJj/7TKMwsEVobOfRhLx1NcSXlP4aaoDc6C+RD3h+u9HgQ4r 5icQ7qnJVdioe98yrObgF1rtpQL8v//GqjKfxQNzRD7tY2zzrWwsSVRxVSIw7weQ0E+f PGT0g4uVjrM0qLb8N4sBnwW9nSrWTIjqIBmWxKSsCcf/URKRIdYhDDYfPhSOI66MJjQF dHJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=C08ejQau; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v25-20020a50d599000000b0043565b4bda3si2016875edi.521.2022.06.23.23.24.53; Thu, 23 Jun 2022 23:25:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=C08ejQau; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229605AbiFXGRK (ORCPT + 99 others); Fri, 24 Jun 2022 02:17:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230355AbiFXGRI (ORCPT ); Fri, 24 Jun 2022 02:17:08 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2C0614EA04 for ; Thu, 23 Jun 2022 23:17:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1656051426; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=8zS3IsB2SxaWn7FKVotEVa/GMXmNG8HC49Y5sW0xw7I=; b=C08ejQauOKKxRxkdYLXwiDTj36hanX9b7PhX3MWjRA+9uhZr8oplFtXRji/i/7+uOtC8it GL1TTHYhLiGgEmMI+p48eWhzHk+hir2WQqazHmW+0oyr3OTcR2RGEPNpGIRyuu1v9MgLC6 qCepvOsULh6dYh7MElOcHi4YrvBV1QI= Received: from mail-qv1-f71.google.com (mail-qv1-f71.google.com [209.85.219.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-361-8oo67iV-O_yUXLNNFuEBHQ-1; Fri, 24 Jun 2022 02:17:04 -0400 X-MC-Unique: 8oo67iV-O_yUXLNNFuEBHQ-1 Received: by mail-qv1-f71.google.com with SMTP id ls8-20020a0562145f8800b0047078180732so1725066qvb.2 for ; Thu, 23 Jun 2022 23:17:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=8zS3IsB2SxaWn7FKVotEVa/GMXmNG8HC49Y5sW0xw7I=; b=Y45o7aN+SwRMVB/au7DPmTJ00ZS2gEwsWOHquTQ2QUFTMZD9Lbg/eRWFjMCuC0F0i+ P/KDxMJr/mmUTr7fgAzx1M/e6y4IPu74UdROTDCEtqBgzsZjaSz34BcDUsh0aryttaa2 jS+mpZXasPntxddC42hczJj539zLBHznpbwaF28Pm9Hke7ijnMT5LGSvMKb8eOr2TwzP cbXcuc0kDlEs7tgjvH6A3WkECd2aPChGo9MMXdSn1dMw34HvhRJi7UMvsZJwg0tc1f7k RGbakwKAzskZ/cHFSBY0r5tmluB2k43mqgtCcZXSKwFwPetKIaPURR+N+PA41tGM9jmT eFBA== X-Gm-Message-State: AJIora+H/quUJu2uw/DK2jJtiM9O5U2ZtSyufR4nEXF93PIJ/mM89nsY CXy+NKOqV4jLaK1IjwGvM2ip7M0oASfdFW94dQpRqYHl0GoVXa0PpERhNpd7qPY6AwLPHk5hKwm xCrlAnUqUjcnXn54bJ8CJ+w== X-Received: by 2002:ac8:5b50:0:b0:305:3275:b9bf with SMTP id n16-20020ac85b50000000b003053275b9bfmr11444075qtw.498.1656051423560; Thu, 23 Jun 2022 23:17:03 -0700 (PDT) X-Received: by 2002:ac8:5b50:0:b0:305:3275:b9bf with SMTP id n16-20020ac85b50000000b003053275b9bfmr11444063qtw.498.1656051423326; Thu, 23 Jun 2022 23:17:03 -0700 (PDT) Received: from zlang-mailbox ([209.132.188.80]) by smtp.gmail.com with ESMTPSA id f10-20020a05620a280a00b006a69d7f390csm1232878qkp.103.2022.06.23.23.17.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jun 2022 23:17:02 -0700 (PDT) Date: Fri, 24 Jun 2022 14:16:57 +0800 From: Zorro Lang To: Eric Biggers Cc: fstests@vger.kernel.org, linux-ext4@vger.kernel.org, linux-fscrypt@vger.kernel.org, Lukas Czerner Subject: Re: [xfstests PATCH v2] ext4/053: test changing test_dummy_encryption on remount Message-ID: <20220624061657.snbyeebcpepwv5em@zlang-mailbox> References: <20220623184113.330183-1-ebiggers@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220623184113.330183-1-ebiggers@kernel.org> X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Thu, Jun 23, 2022 at 11:41:13AM -0700, Eric Biggers wrote: > From: Eric Biggers > > The test_dummy_encryption mount option isn't supposed to be settable or > changeable via a remount, so add test cases for this. This is a > regression test for a bug that was introduced in Linux v5.17 and fixed > in v5.19-rc3 by commit 85456054e10b ("ext4: fix up test_dummy_encryption > handling for new mount API"). > > Reviewed-by: Lukas Czerner > Signed-off-by: Eric Biggers > --- Thanks for reminding that, I'll merge this patch this week. > > v2: added info about fixing commit, and added a Reviewed-by tag > > tests/ext4/053 | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/tests/ext4/053 b/tests/ext4/053 > index 23e553c5..555e474e 100755 > --- a/tests/ext4/053 > +++ b/tests/ext4/053 > @@ -685,6 +685,9 @@ for fstype in ext2 ext3 ext4; do > mnt test_dummy_encryption=v2 > not_mnt test_dummy_encryption=bad > not_mnt test_dummy_encryption= > + # Can't be set or changed on remount. > + mnt_then_not_remount defaults test_dummy_encryption > + mnt_then_not_remount test_dummy_encryption=v1 test_dummy_encryption=v2 > do_mkfs -O ^encrypt $SCRATCH_DEV ${SIZE}k > fi > not_mnt test_dummy_encryption > > base-commit: 0882b0913eae6fd6d2010323da1dde0ff96bf7d4 > -- > 2.36.1 >