summaryrefslogtreecommitdiff
path: root/scripts/git.orderFile
diff options
context:
space:
mode:
authorDaniel Lee <chullee@google.com>2024-12-20 15:41:31 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-02-08 09:58:11 +0100
commit00d1943fe46d257cbfcfa7a811791d0214585d7b (patch)
tree4b19dbef4e2098530610fdd246ecab0fb075c700 /scripts/git.orderFile
parentc12b8bc1e9c58e69dff970fa6ec4e795967b1bfb (diff)
downloadlinux-00d1943fe46d257cbfcfa7a811791d0214585d7b.tar.gz
linux-00d1943fe46d257cbfcfa7a811791d0214585d7b.tar.bz2
linux-00d1943fe46d257cbfcfa7a811791d0214585d7b.zip
f2fs: Introduce linear search for dentries
commit 91b587ba79e1b68bb718d12b0758dbcdab4e9cb7 upstream. This patch addresses an issue where some files in case-insensitive directories become inaccessible due to changes in how the kernel function, utf8_casefold(), generates case-folded strings from the commit 5c26d2f1d3f5 ("unicode: Don't special case ignorable code points"). F2FS uses these case-folded names to calculate hash values for locating dentries and stores them on disk. Since utf8_casefold() can produce different output across kernel versions, stored hash values and newly calculated hash values may differ. This results in affected files no longer being found via the hash-based lookup. To resolve this, the patch introduces a linear search fallback. If the initial hash-based search fails, F2FS will sequentially scan the directory entries. Fixes: 5c26d2f1d3f5 ("unicode: Don't special case ignorable code points") Link: https://bugzilla.kernel.org/show_bug.cgi?id=219586 Signed-off-by: Daniel Lee <chullee@google.com> Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org> Cc: Daniel Rosenberg <drosen@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/git.orderFile')
0 files changed, 0 insertions, 0 deletions