|
|
@@ -1718,7 +1718,7 @@ cifs_parse_mount_options(const char *mountdata, const char *devname,
|
|
|
goto cifs_parse_mount_err;
|
|
|
}
|
|
|
|
|
|
- if (strnicmp(string, "default", 7) != 0) {
|
|
|
+ if (strncasecmp(string, "default", 7) != 0) {
|
|
|
vol->iocharset = kstrdup(string,
|
|
|
GFP_KERNEL);
|
|
|
if (!vol->iocharset) {
|
|
|
@@ -1790,7 +1790,7 @@ cifs_parse_mount_options(const char *mountdata, const char *devname,
|
|
|
if (string == NULL)
|
|
|
goto out_nomem;
|
|
|
|
|
|
- if (strnicmp(string, "1", 1) == 0) {
|
|
|
+ if (strncasecmp(string, "1", 1) == 0) {
|
|
|
/* This is the default */
|
|
|
break;
|
|
|
}
|