Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 71a394fa authored by Steve French's avatar Steve French
Browse files

[CIFS] remove unknown mount option warning message



Jeff's previous patch which removed the unneeded rw/ro
parsing can cause a minor warning in dmesg (about the
unknown rw or ro mount option) at mount time. This
patch makes cifs ignore them in kernel to remove the warning
(they are already handled in the mount helper and VFS).

Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
parent ad8034f1
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -1196,6 +1196,10 @@ cifs_parse_mount_options(char *options, const char *devname,
			/* ignore */
			/* ignore */
		} else if (strnicmp(data, "guest", 5) == 0) {
		} else if (strnicmp(data, "guest", 5) == 0) {
			/* ignore */
			/* ignore */
		} else if (strnicmp(data, "rw", 2) == 0) {
			/* ignore */
		} else if (strnicmp(data, "ro", 2) == 0) {
			/* ignore */
		} else if (strnicmp(data, "noblocksend", 11) == 0) {
		} else if (strnicmp(data, "noblocksend", 11) == 0) {
			vol->noblocksnd = 1;
			vol->noblocksnd = 1;
		} else if (strnicmp(data, "noautotune", 10) == 0) {
		} else if (strnicmp(data, "noautotune", 10) == 0) {