On Mon, Jan 29, 2024 at 05:43:25PM -0300, Gabriel Krisman Bertazi wrote: > In preparation to get case-insensitive dentry operations from > sb->s_d_op again, use the same structure for case-insensitive > filesystems with and without fscrypt. > > This means that on a casefolded filesystem without fscrypt, we end up Again, we shouldn't use the term "case-insensitive filesystem" (or casefolded filesystem) when we actually mean "case-insensitive capable filesystem", or more precisely "filesystem that supports case-insensitive directories". Real case-insensitive filesystems like FAT are not relevant here. > Also, since the first fscrypt_d_revalidate will call d_set_always_valid for us This is outdated. - Eric