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

2020-07-07 Thread Eric Biggers
On Tue, Jul 07, 2020 at 04:31:21AM -0700, Daniel Rosenberg wrote: > +/* > + * Determine if the name of a dentry should be casefolded. It does not make > + * sense to casefold the no-key token of an encrypted filename. > + * > + * Return: if names will need casefolding > + */ > +static bool needs_ca

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

2020-07-07 Thread Daniel Rosenberg
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 a