Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1859181iob; Sun, 15 May 2022 00:28:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxrMmVzpwMJxSX2P6g/3SqkT5jX74y9uO8+ZYww0yhfEG82vTExyeU2nBxTHNN86LyNqVS2 X-Received: by 2002:a05:6402:520e:b0:428:22d0:e996 with SMTP id s14-20020a056402520e00b0042822d0e996mr7278296edd.250.1652599717856; Sun, 15 May 2022 00:28:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652599717; cv=none; d=google.com; s=arc-20160816; b=blIFuCpdiSTn79rNo/VVoN+232jcvUBI6UGtMJfIVU8D63C4Q4F5dfvGIE2GS4IywW I11Uv0hApUYPMPuxcfTypYpx/Kwx/S813FESh+2MXoFHrIx3XO0T0aG5X90CPVtAUsma jRjOKziph5ok1ZuT9kJK1IeJ530HzcwrxxB4047LvcJKpxtadlsRAg77f/YnRiZFEyAa Mp8qiTxTTaMfs9SaLFiO+2Gac/nz0mFW8mo+mjy1kcbvOLfyB/A+h1Ia9akPQZRC0HE2 rJ8E/wisozwl/KE9tb3xo4VLMmWmEsCae2Yf3dN3lmRpNlrKOHYrEGz/fzHBUqQojupv VqWQ== 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=Eq/82tu6X9ZKcrAkx2wEFHmPZM+JAYtAiESTMva+DrQ=; b=ywZTU1LZ3dV4MdjJmhaLzc08s5EdyDARX2GMlyrxUPKkx7jG6RGYzrf3Y87w20LsL9 Tk4VVLWiHVsetraGASJtOSebu+B/t0YQAovhVPMa6w+ExgtS6i0bo6c0oYeomBkOeB85 E/nQteOJR3XE3JW2nGepRcNNkDH1JXZDBwcY6r9v5za4XVEHSRBcQGquVk0HA74dzZTu x/Q65w52xK2VknMxUmNAznLQMk2nVyTNbuhhLfIs/eQPy3Nt3/j8SJqGv3XA8rnrK5hy /Iyd3KapXZG9uS15lh8HQTb53vXoZLDC5S9tJOz2MTGl+bNqlytNW379aal4mrrJUlAk G7pA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="PNC2aa/i"; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qf24-20020a1709077f1800b006efc5a2c483si8312480ejc.958.2022.05.15.00.28.04; Sun, 15 May 2022 00:28:37 -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=@gmail.com header.s=20210112 header.b="PNC2aa/i"; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235525AbiEOEp6 (ORCPT + 99 others); Sun, 15 May 2022 00:45:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231213AbiEOEp4 (ORCPT ); Sun, 15 May 2022 00:45:56 -0400 Received: from mail-pg1-x536.google.com (mail-pg1-x536.google.com [IPv6:2607:f8b0:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8196B48; Sat, 14 May 2022 21:45:54 -0700 (PDT) Received: by mail-pg1-x536.google.com with SMTP id h24so5849195pgh.12; Sat, 14 May 2022 21:45:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=Eq/82tu6X9ZKcrAkx2wEFHmPZM+JAYtAiESTMva+DrQ=; b=PNC2aa/iYP8MoLEODVeDwdoemnQd9QcUgfOu8tIXnTK/3NVAe/UTpiBW7DH2zCkhu6 JbVHLMml3YTABOdaEMmMK5ROdw0vYkQWAFP5u/DY3vttmLPvOFHqztD5FAjClfZuAers 1z/U0j+/0itzjxWIHCwuXNvtoQB0B/L7rLPHmd/kkYw/SHuXF+/16QfFzepiA+/d7I/l zQAqOS7UblUaJPDELR42W1Mpy/K/BDGfoPlQ1uJdv9rbl1JIuQRYr/DrfvoFwlylOtWE 9q/yo9NV4x2nn5RLV+OVs5GkEgmLB2Usry1vqqXYOLIGttDLWBCH+D33pf1bOowBq1N2 ly1A== 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=Eq/82tu6X9ZKcrAkx2wEFHmPZM+JAYtAiESTMva+DrQ=; b=s1Y2POgV0TyZpgZqzpHc07nxrwA/ZMmQbHcUSJrFESATS8udr7p/PWiCZvIfTablJQ +yFAlAIlmbqf7xZs2MV4MZYcESW7Bq0Zt1853VwaCF01XJnl/1OolFUAbH44D2UJkumn f3PEDnX1MRg52IFq1BeCWlNIKEA4fCmiEEFNCTnmNzTLdaN/ngxLJuUa0o1rjOILeAvp T7bnjzamU4LQpxw2V7k/o34IerqP/mFhczX4y1Ait+9IKzR1zUBN1jW2k8bYj1tU8G6G K/fu2nQg1rkFTEzX5zbRoJWW5F6MB5+fPfS+KFsOiRtGj+YJOBBt28HEmcXrLejwdhVQ wMrQ== X-Gm-Message-State: AOAM533zuZ/Qr0x3hLZGUvTg936JO2KIk0IHuWTOhjzR1z/s2Nusyl0j zfxp6u1r4k6+z8YPK+Wb05/Na4TgqXg= X-Received: by 2002:a05:6a00:a0e:b0:4fd:fa6e:95fc with SMTP id p14-20020a056a000a0e00b004fdfa6e95fcmr11940992pfh.17.1652589954342; Sat, 14 May 2022 21:45:54 -0700 (PDT) Received: from localhost ([2406:7400:63:532d:c4bb:97f7:b03d:2c53]) by smtp.gmail.com with ESMTPSA id d5-20020a17090a8d8500b001df17c83bbdsm1845919pjo.45.2022.05.14.21.45.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 May 2022 21:45:53 -0700 (PDT) Date: Sun, 15 May 2022 10:15:49 +0530 From: Ritesh Harjani To: Eric Biggers Cc: linux-ext4@vger.kernel.org, linux-fscrypt@vger.kernel.org, Theodore Ts'o , Jan Kara Subject: Re: [PATCHv2 1/3] ext4: Move ext4 crypto code to its own file crypto.c Message-ID: <20220515044549.g63qnyuapp54kv76@riteshh-domain> References: <4f6b9ff4411ced6591f858119feb025300ecf918.1652539361.git.ritesh.list@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 22/05/14 08:33PM, Eric Biggers wrote: > On Sat, May 14, 2022 at 10:52:46PM +0530, Ritesh Harjani wrote: > > diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h > > index a743b1e3b89e..9100f0ba4a52 100644 > > --- a/fs/ext4/ext4.h > > +++ b/fs/ext4/ext4.h > > @@ -2731,6 +2731,9 @@ extern int ext4_fname_setup_ci_filename(struct inode *dir, > > struct ext4_filename *fname); > > #endif > > > > +/* ext4 encryption related stuff goes here crypto.c */ > > +extern const struct fscrypt_operations ext4_cryptops; > > + > > #ifdef CONFIG_FS_ENCRYPTION > > Shouldn't the declaration of ext4_cryptops go in the CONFIG_FS_ENCRYPTION block? Sure yes. I should move that within CONFIG_FS_ENCRYPTION block. > > Otherwise this patch looks good, thanks. > > Reviewed-by: Eric Biggers Thanks for the review. -ritesh