Skip to content

Commit

Permalink
Merge pull request dorimanx#60 from biergaizi/master
Browse files Browse the repository at this point in the history
exfat_super.c: use strncasecmp instead of strnicmp
  • Loading branch information
dorimanx committed Feb 26, 2015
2 parents f7738d3 + 2b2c0ef commit 514c362
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exfat_super.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 514c362

Please sign in to comment.