diff options
author | Steve French <sfrench@us.ibm.com> | 2009-06-26 00:07:18 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2009-06-26 00:07:18 -0400 |
commit | 71a394faaad07090af5de5c075ec2f5bca0fbb35 (patch) | |
tree | 9e4f67deea3ecfc6bb571a930c16c6d6e5b10f3f /fs/cifs | |
parent | ad8034f19792736db5c259103c2eaaf72887bbb4 (diff) |
[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: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs')
-rw-r--r-- | fs/cifs/connect.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index 12c2cf693555..e16d7592116a 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c | |||
@@ -1196,6 +1196,10 @@ cifs_parse_mount_options(char *options, const char *devname, | |||
1196 | /* ignore */ | 1196 | /* ignore */ |
1197 | } else if (strnicmp(data, "guest", 5) == 0) { | 1197 | } else if (strnicmp(data, "guest", 5) == 0) { |
1198 | /* ignore */ | 1198 | /* ignore */ |
1199 | } else if (strnicmp(data, "rw", 2) == 0) { | ||
1200 | /* ignore */ | ||
1201 | } else if (strnicmp(data, "ro", 2) == 0) { | ||
1202 | /* ignore */ | ||
1199 | } else if (strnicmp(data, "noblocksend", 11) == 0) { | 1203 | } else if (strnicmp(data, "noblocksend", 11) == 0) { |
1200 | vol->noblocksnd = 1; | 1204 | vol->noblocksnd = 1; |
1201 | } else if (strnicmp(data, "noautotune", 10) == 0) { | 1205 | } else if (strnicmp(data, "noautotune", 10) == 0) { |