[CIFS] remove unknown mount option warning message
[linux-block.git] / fs / cifs / connect.c
index 12c2cf693555a9611865b5a3ef392febd3ce398c..e16d7592116ad7dbedd557d8df37497d6370155c 100644 (file)
@@ -1196,6 +1196,10 @@ cifs_parse_mount_options(char *options, const char *devname,
                        /* ignore */
                } else if (strnicmp(data, "guest", 5) == 0) {
                        /* ignore */
+               } else if (strnicmp(data, "rw", 2) == 0) {
+                       /* ignore */
+               } else if (strnicmp(data, "ro", 2) == 0) {
+                       /* ignore */
                } else if (strnicmp(data, "noblocksend", 11) == 0) {
                        vol->noblocksnd = 1;
                } else if (strnicmp(data, "noautotune", 10) == 0) {