bcachefs: Fix casefold lookups
authorKent Overstreet <kent.overstreet@linux.dev>
Thu, 24 Apr 2025 16:58:06 +0000 (12:58 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Thu, 24 Apr 2025 23:09:52 +0000 (19:09 -0400)
commit9cdde3c7aa3d5bfc7c7b5ec849e5a3288a66af35
treedd63f0447c76a539233c2548d9ca4f0a7edc74e1
parentb9e1f873d2e152b1c82dfc50943f4d3ca322f800
bcachefs: Fix casefold lookups

Add casefolding to bch2_lookup_trans:

During the delay between when casefolding was written and when it was
merged, the main filesystem lookup path grew self healing - which meant
it was no longer using bch2_dirent_lookup_trans(), where casefolding on
lookups happens.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/dirent.c
fs/bcachefs/dirent.h
fs/bcachefs/fs.c