diff options
Diffstat (limited to 'fs/cifs/connect.c')
-rw-r--r-- | fs/cifs/connect.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index 134195cc4073..f784b70abfeb 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c | |||
@@ -1078,7 +1078,8 @@ cifs_parse_mount_options(char *options, const char *devname,struct smb_vol *vol) | |||
1078 | vol->nocase = 1; | 1078 | vol->nocase = 1; |
1079 | } else if (strnicmp(data, "brl", 3) == 0) { | 1079 | } else if (strnicmp(data, "brl", 3) == 0) { |
1080 | vol->nobrl = 0; | 1080 | vol->nobrl = 0; |
1081 | } else if (strnicmp(data, "nobrl", 5) == 0) { | 1081 | } else if ((strnicmp(data, "nobrl", 5) == 0) || |
1082 | (strnicmp(data, "nolock", 6)) { | ||
1082 | vol->nobrl = 1; | 1083 | vol->nobrl = 1; |
1083 | /* turn off mandatory locking in mode | 1084 | /* turn off mandatory locking in mode |
1084 | if remote locking is turned off since the | 1085 | if remote locking is turned off since the |