cifs: replace strnicmp with strncasecmp
[sfrench/cifs-2.6.git] / fs / cifs / cifs_dfs_ref.c
index 58df174deb10e5b354a9003ea3ccbfc5240e5cd0..b8602f19981560bc51fe9123689d75eed24f8e0c 100644 (file)
@@ -195,15 +195,15 @@ char *cifs_compose_mount_options(const char *sb_mountdata,
                else
                        noff = tkn_e - (sb_mountdata + off) + 1;
 
-               if (strnicmp(sb_mountdata + off, "unc=", 4) == 0) {
+               if (strncasecmp(sb_mountdata + off, "unc=", 4) == 0) {
                        off += noff;
                        continue;
                }
-               if (strnicmp(sb_mountdata + off, "ip=", 3) == 0) {
+               if (strncasecmp(sb_mountdata + off, "ip=", 3) == 0) {
                        off += noff;
                        continue;
                }
-               if (strnicmp(sb_mountdata + off, "prefixpath=", 11) == 0) {
+               if (strncasecmp(sb_mountdata + off, "prefixpath=", 11) == 0) {
                        off += noff;
                        continue;
                }