Re: [PATCH 0/5] Add support for Encryption and Casefolding in F2FS

From: Eric Biggers
Date: Mon Nov 09 2020 - 17:50:37 EST


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