Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp746876iob; Thu, 12 May 2022 03:54:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwc+LZ0Gy3Wp+I+jhTOAMP8lum7Oje9mAhRe7TYWuxXWa48N1Fv8Ffb7jMscnTJKSARRkKe X-Received: by 2002:a17:907:1b10:b0:6e4:bac5:f080 with SMTP id mp16-20020a1709071b1000b006e4bac5f080mr30082394ejc.24.1652352883273; Thu, 12 May 2022 03:54:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652352883; cv=none; d=google.com; s=arc-20160816; b=DeVuPf+Ms1kziduuBWkhxAVLZCnID04N8b7Ggd5PgcAZ1YrvLsISuZYOODqU9Nt58C T+7ewQFWc0/yKe3dTi7ieUZ6cDZBcklUyQd9ixkmdA5y2xT6b0EMVICKysd7p/VE28h5 Bu7V/u0qXyJs4xUwta2TDtfrfXA2yvsS3rsQxYWwv6ZJ5XWyGTRif+VpFCo1a1DxrwB5 QO6hEiu5r/Zsk1shT0quX3p4zrR89Qo9AdK5q2oW/lDb+4wxBRM41vfijKXKbLpt9t43 bD6PBF6W0pxcxIZXexl4ZF2WpFqLRGevZD7LEx12j115wjRlWYEI4Fw99rRxvIgHf3d+ Xdcw== 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=59fPeBgPhFcXO7yKBvKQRSz9AeJWLIfwYzfilOR4Qq0=; b=kQe/WVBPuKMAVfKa1GsBYAsI98cnnVhKuEkCM+LM6PFxI+WiaGv/bhRQYa7QG9nO+p ybqk8zhjvl6lB/GgGqoWXBVcJL45FdziMY0TQr5XTocv5nMX5JtFuC1AICJWjLDDLlAy O4kkMAyg899gCvFAhuzB4gJqR25bmchxzPlc8C7AlksTAUiFov2zraZQwhBj2azF+F2Z UTZtx48dtnqzvfeZDxB767mHsSnmAdBYhQRs4XIr/P7c4YI63lPsKq3iR0Fhj41ewL1+ wUA3qC7IR7K0zBTTb4mp9CFcjXVghY/tPjxflKebO5NBujS+70LL377I+D7CGzpqwm8K 2EPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oUnj8zqj; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h14-20020aa7c5ce000000b004289d92e62asi5270537eds.342.2022.05.12.03.54.16; Thu, 12 May 2022 03:54:43 -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=@kernel.org header.s=k20201202 header.b=oUnj8zqj; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345342AbiEKRSp (ORCPT + 99 others); Wed, 11 May 2022 13:18:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244095AbiEKRSo (ORCPT ); Wed, 11 May 2022 13:18:44 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 977CF68FB2; Wed, 11 May 2022 10:18:43 -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 1515661D42; Wed, 11 May 2022 17:18:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 51C70C34113; Wed, 11 May 2022 17:18:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1652289522; bh=dtt51r4FC8J4L/dpuNqjEYl6pzvtBwAn3jhFVusBWWw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=oUnj8zqjKAopFQqGYTk6FFowSyKG3lS3+ydTHHjwyq4HNTs2ZQJbRQFPx0h4nd+bl CJYZTaaZlX7RDk429hT8CNfZScyz5nSuCBthURoMGDlmbuZ1lb1CsHLkbdI4KeZTjE V4qWjRLFEh/TlecDQBqAajV96TTQbdp0lFmOgmhOOqVjm45zaQAnqwH5w/mPrNlQXc VnaZvm2KAng84KRhZOe8+00Crxf6AUXV2HeEzmaJgNasZN3w7/XuZ8w1rLHa2XBAXt o9tcnG40Obo/u8VsWAWg7oYdJjwzYnBqjjkETjdt5IenTFj0FDRmM4N8ajvcpTf/ZI jyFKAMn2NBHow== Date: Wed, 11 May 2022 17:18:34 +0000 From: Eric Biggers To: Ritesh Harjani Cc: linux-fscrypt@vger.kernel.org, linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, Lukas Czerner , Theodore Ts'o , Jaegeuk Kim , Jeff Layton Subject: Re: [PATCH v2 1/7] ext4: only allow test_dummy_encryption when supported Message-ID: References: <20220501050857.538984-1-ebiggers@kernel.org> <20220501050857.538984-2-ebiggers@kernel.org> <20220511125023.gxfkgft35gkjyhef@riteshh-domain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220511125023.gxfkgft35gkjyhef@riteshh-domain> X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Wed, May 11, 2022 at 06:20:23PM +0530, Ritesh Harjani wrote: > > +static int ext4_check_test_dummy_encryption(const struct fs_context *fc, > > + struct super_block *sb) > > Maybe the function name should match with other option checking, like > ext4_check_test_dummy_encryption_consistency() similar to > ext4_check_quota_consistency(). This makes it clear that both are residents of > ext4_check_opt_consistency() > > One can argue it makes the function name quite long. So I don't have hard > objections anyways. > > So either ways, feel free to add - > > Reviewed-by: Ritesh Harjani I did consider that, but that name seemed too long, as you mentioned. Thanks for the review! - Eric