diff --git a/exfat_super.c b/exfat_super.c index a8283fa..68b2f5e 100644 --- a/exfat_super.c +++ b/exfat_super.c @@ -386,7 +386,7 @@ static int exfat_cmpi(const struct dentry *parent, const struct inode *pinode, blen = __exfat_striptail_len(len, str); if (alen == blen) { if (t == NULL) { - if (strnicmp(name->name, str, alen) == 0) + if (strncasecmp(name->name, str, alen) == 0) return 0; } else if (nls_strnicmp(t, name->name, str, alen) == 0) return 0;