Skip to content
Commit 2bf380c0 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Fix dirent_casefold_mismatch repair



Instead of simply recreating a mis-casefolded dirent, use the str_hash
repair code, which will rename it if necessary - the dirent might have
been created again with the correct casefolding.

Factor out out bch2_str_hash_repair key() from
__bch2_str_hash_check_key() for the new path to use, and export
bch2_dirent_create_key() as well.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent b938d3c9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment