Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1784405iob; Sat, 14 May 2022 21:14:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJykU+QvbUOnmmxMzmAWVSl577uD6cIpiaUfet3nIcS17oEgOi/HTuhMTtGzas2wUJ5Y0poo X-Received: by 2002:a17:907:1b07:b0:6fe:2cbc:15c5 with SMTP id mp7-20020a1709071b0700b006fe2cbc15c5mr1022591ejc.677.1652588074288; Sat, 14 May 2022 21:14:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652588074; cv=none; d=google.com; s=arc-20160816; b=t5I/PMEKx+iQtqjOiOLJMreXxraOUd/Bfrb9p/zbnjzGsV6dJPrhOlMi1j6fgp4nRR R0tPpNalP9E8OL7MlF3wPq18iIl3Z7lhnzfPI2sTVlDt8fh6MGPivE+7JF7tKvaqY9F3 UPr7zbgAWW1ETjyttJeY2LChyZaRxrDht9OOG0/6YjMNBmmCN9hG1++l2jxInJ6SZjRj eXE1yFG8GBKOwPSxfLJQg/4Wv1JG4eIOvyesNs96WKGzTN5WZlkYlBiKchryqlo7VX7I ZP1don0Gw7OX+gV2ZBNYsLsIp1lwtgw4u/q63j8ic7lT5bZal9cHpmyJ7bk+Z41llS2D QuFA== 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=QvR7wFXOZtWYsrksBTOtLa090uBlZoWNk9+zMUuMlck=; b=oSSz4th3RMirY84KQToWyavFE1mPI1ayZwvBEywK2b1ISqRTSJIDYi1RhfwhZMO2MJ QfMMrubsIyUNqTBdWCL5UVdNo5J/KawQ6LoLojz4jIQo34mDBMv2qGa4vVZmOsPTVMvF RnWAyEmFjIVHhcqJFmO+qzII7jZvgGO8U6/lb2inR98eNQEtm/UaKG51idweB0nKRUIo EK8qtb73z3+itW7q4Xw/qwtVkNrOpYpppYuu6gF6vJVfUOf1wDN30Gp2MKF+jDZr0Vb0 9wzwE4L/RrLxmbbFFASOQzuNNtmGmlaeojD0oFRFzE/qoov2x6NYaxHt2p6fu6ZchzBB mBHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Ayugv7rp; 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 nb38-20020a1709071ca600b006df76385f45si7046499ejc.997.2022.05.14.21.13.51; Sat, 14 May 2022 21:14:34 -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=Ayugv7rp; 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 S234724AbiEODdu (ORCPT + 99 others); Sat, 14 May 2022 23:33:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234740AbiEODds (ORCPT ); Sat, 14 May 2022 23:33:48 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95DB63896; Sat, 14 May 2022 20:33:46 -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 ams.source.kernel.org (Postfix) with ESMTPS id 835BCB80B48; Sun, 15 May 2022 03:33:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 01F5DC385B8; Sun, 15 May 2022 03:33:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1652585623; bh=FBjvRJwMMUU2E4ylmyW/0qpS3y2MEUZjZzDwycz0XHA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Ayugv7rpzSCkNQ+FBPfwLO3JVrpDIF4pK8aF0wdpEYwnU8/ez6taRbxemINI2VjQg fXXBc54WnfR5zGXMP13DDSx5jqWD162CGtxrYuEFd9LFURVcY0AXBP0Pih671z+mE3 U8vsM2HtiA8ScAotlC1h5sojVlOcdqr5YwyjV0q03G5rLK8qT8fVEvlTKkiuCQOkXj KX6A949CXDKPf2CMQnCY31t9urggLXczPhNvRjXGMNxDNSL8LmZRRQ07RpBLOvXXI+ cQGouC9J1B0uLEOiJZHzJ5bshBTU1Qtb2HiyCkyVE5f5gP7E8A98uzT8v3kTCXS7X4 nIAW1+47bY6Ug== Date: Sat, 14 May 2022 20:33:41 -0700 From: Eric Biggers To: Ritesh Harjani 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: 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: <4f6b9ff4411ced6591f858119feb025300ecf918.1652539361.git.ritesh.list@gmail.com> 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 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? Otherwise this patch looks good, thanks. Reviewed-by: Eric Biggers - Eric