Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3564833pxb; Mon, 9 Nov 2020 14:51:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJz7Qn16qmFpZijfEmvmLSAAqNmRqF8eo1X/FHILCbg4s8D2KVH6IB8wnkmSmw/9T8LNf3vJ X-Received: by 2002:a17:906:39d1:: with SMTP id i17mr16729356eje.284.1604962281301; Mon, 09 Nov 2020 14:51:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604962281; cv=none; d=google.com; s=arc-20160816; b=RF3hT7Jac755wjaEki5cjM1e16grHi3Bw/uRtE2MUHA+u3BQabeC99F4MJ/Gpf73xs YmDLdxSSm+SRrgbd8Sr/BQqk7SOt3vFi8EME5iL8Xa/XuIxWlk9YuHGqYuLx08xkLrBq HSPxUzCkl2Eno2KzHtzSfph2oZqWmTddLvhnI/EalP8dNlvNU81Rym/7/+gEy/EZrP7w QvwBZWdv9sIPPiSDgFd4eMMwsJgsy1p3YiyDcciH+41xXOIgEbGhAsStgiLE55VNM0+S X7H0r7+CCk9Lu/oknvuu8N5p4O/eOB9ERTvxidNQkFHl/W+rdPVFtAsK2q+3KLQg9liA ek1w== 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=JGy+32ZC9e1RVqm2nKfGZgnJQAtX2OPg9/sPfw9hd/I=; b=B+IUuqsGQKwsyURtMHXoi+ZPjwj2hQAFUFCBVPkvS2+0Hi+DmwP9ZpX0/lEnT0MLj1 8GIXTSek1b90SqdNl6pf2J32fm9URnegxMlLxbTJYyHnYwdrjx6DVHDNWfFJQI0bDg++ Fwup+IZyPYOPcjwUsy4VX5DN9H+hqpaPGSIP9oYRaRjM/edKnzbY8kUFmGHM1FKiuGl+ 4NCRXshUfq+/G9mpSHx56KgzrNIPlPlJPzj4QHCC35radRaXNYIY61rwnUkBIM4ydv1H Sepq5KCQEB42mzISQhpbXa/5SNf4wILpOu0XnQpCHjxRhvZe7M9Iv+UEXf9taLkkWElf EqzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="x/RoupRN"; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p14si7976111edm.185.2020.11.09.14.50.47; Mon, 09 Nov 2020 14:51:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="x/RoupRN"; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 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 S1729807AbgKIWuf (ORCPT + 99 others); Mon, 9 Nov 2020 17:50:35 -0500 Received: from mail.kernel.org ([198.145.29.99]:60396 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729451AbgKIWuf (ORCPT ); Mon, 9 Nov 2020 17:50:35 -0500 Received: from gmail.com (unknown [104.132.1.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 28674206C0; Mon, 9 Nov 2020 22:50:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604962234; bh=3zCrnmiSy4pI28U8wV8PlYqpeE16yEzdnAVoONyzohs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=x/RoupRNbJK1Pi4mHAwErVHXP/WENGRJgQMMxq9le7k+nzQ6OMr3Ik9Tg6nhy36C1 yFvZiu/Ji96oaWBRhoIDdUt+aBI3y0PNOh3QbRN0uliX4vy/xne5YwHqkCQB5XM4I4 qxla2lpMXWy+XbxUgITCAREeyY8g3BQp6Zc+EBOk= Date: Mon, 9 Nov 2020 14:50:32 -0800 From: Eric Biggers To: Daniel Rosenberg Cc: "Theodore Y . Ts'o" , Jaegeuk Kim , Andreas Dilger , Chao Yu , Alexander Viro , Richard Weinberger , linux-fscrypt@vger.kernel.org, linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mtd@lists.infradead.org, Gabriel Krisman Bertazi , kernel-team@android.com Subject: Re: [PATCH 0/5] Add support for Encryption and Casefolding in F2FS Message-ID: <20201109225032.GA2652236@gmail.com> References: <20200923010151.69506-1-drosen@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200923010151.69506-1-drosen@google.com> Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Wed, Sep 23, 2020 at 01:01:46AM +0000, Daniel Rosenberg wrote: > These patches are on top of the f2fs dev branch > > F2FS currently supports casefolding and encryption, but not at > the same time. These patches aim to rectify that. In a later follow up, > this will be added for Ext4 as well. I've included one ext4 patch from > the previous set since it isn't in the f2fs branch, but is needed for the > fscrypt changes. > > The f2fs-tools changes have already been applied. > > Since both fscrypt and casefolding require their own dentry operations, > I've moved the responsibility of setting the dentry operations from fscrypt > to the filesystems and provided helper functions that should work for most > cases. > > These are a follow-up to the previously sent patch set > "[PATCH v12 0/4] Prepare for upcoming Casefolding/Encryption patches" > > Daniel Rosenberg (5): > ext4: Use generic casefolding support > fscrypt: Export fscrypt_d_revalidate > libfs: Add generic function for setting dentry_ops > fscrypt: Have filesystems handle their d_ops > f2fs: Handle casefolding with Encryption Daniel, can you resend this for 5.11, with all remaining comments addressed? The first two patches made 5.10, but the others didn't. - Eric