+70
−0
+3357
−3346
File changed.
Preview size limit exceeded, changes collapsed.
Loading
stable inclusion from stable-v6.6.66 commit 7535956ffe5bd9060402b4e67f91792c4cdf1ed2 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IBD0BE Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=7535956ffe5bd9060402b4e67f91792c4cdf1ed2 -------------------------------- [ Upstream commit 231825b2e1ff6ba799c5eaf396d3ab2354e37c6b ] This reverts commit 5c26d2f1d3f5e4be3e196526bead29ecb139cf91. It turns out that we can't do this, because while the old behavior of ignoring ignorable code points was most definitely wrong, we have case-folding filesystems with on-disk hash values with that wrong behavior. So now you can't look up those names, because they hash to something different. Of course, it's also entirely possible that in the meantime people have created *new* files with the new ("more correct") case folding logic, and reverting will just make other things break. The correct solution is to not do case folding in filesystems, but sadly, people seem to never really understand that. People still see it as a feature, not a bug. Reported-by:Qi Han <hanqi@vivo.com> Link: https://bugzilla.kernel.org/show_bug.cgi?id=219586 Cc: Gabriel Krisman Bertazi <krisman@suse.de> Requested-by:
Jaegeuk Kim <jaegeuk@kernel.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
Cheng Yu <serein.chengyu@huawei.com>
File changed.
Preview size limit exceeded, changes collapsed.