Re: Unicode conversion issue

From: Linus Torvalds
Date: Wed Dec 11 2024 - 16:25:56 EST


On Wed, 11 Dec 2024 at 13:11, Gabriel Krisman Bertazi <krisman@xxxxxxx> wrote:
>
> This solves it for directories with inlined dirents
> (FI_INLINE_DENTRY). but for large directories, we use fname->hash to
> find the right block to start the search.

Grr. Dammit, the hash should always have been the original hash of the
original actual case-preserving entry.

Oh well. I'll continue to just absolutely hate case-folding, because
while I suspect that it *could* be done correctly, I have yet to ever
actually see any filesystem that did so.

Linus