On Wed, May 18, 2022 at 01:23:17PM -0400, Gabriel Krisman Bertazi wrote: > @@ -277,8 +225,10 @@ static inline int f2fs_match_name(const struct inode *dir, > > #if IS_ENABLED(CONFIG_UNICODE) > if (fname->cf_name.name) > - return f2fs_match_ci_name(dir, &fname->cf_name, > - de_name, de_name_len); > + return generic_ci_match(dir, fname->usr_fname, > + &fname->cf_name, > + (u8 *) de_name, de_name_len); > + There's no need for the cast to '(u8 *)'. - Eric