Re: [PATCH] hfsplus: prevent negative dentries when casefolded

Al Viro
2021-04-16T17:35:16Z

On Sat, Apr 17, 2021 at 01:20:12AM +0800, Chung-Chiang Cheng wrote:
> hfsplus uses the case-insensitive filenames by default, but VFS negative
> dentries are incompatible with case-insensitive. For example, the
> following instructions will get a cached filename 'aaa' which isn't
> expected. There is no such problem in macOS.

Look into the way vfat et.al. are dealing with that (see their
->d_revalidate()).