Re: [PATCH v12 2/4] fs: Add standard casefolding support

From: Eric Biggers
Date: Wed Jul 08 2020 - 11:49:37 EST


On Wed, Jul 08, 2020 at 02:12:35AM -0700, Daniel Rosenberg wrote:
> This adds general supporting functions for filesystems that use
> utf8 casefolding. It provides standard dentry_operations and adds the
> necessary structures in struct super_block to allow this standardization.
>
> The new dentry operations are functionally equivalent to the existing
> operations in ext4 and f2fs, apart from the use of utf8_casefold_hash to
> avoid an allocation.
>
> By providing a common implementation, all users can benefit from any
> optimizations without needing to port over improvements.
>
> Signed-off-by: Daniel Rosenberg <drosen@xxxxxxxxxx>

Reviewed-by: Eric Biggers <ebiggers@xxxxxxxxxx>