diff options
author | Steve French <sfrench@us.ibm.com> | 2005-08-30 20:58:07 -0700 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2005-08-30 20:58:07 -0700 |
commit | 1c9551878c4629ca78dfe12ed23b9dc8d97770cc (patch) | |
tree | 4d9df5ad22d88dd0f62ab9f44d761f1df6a77d55 /fs/cifs/connect.c | |
parent | cb8be64084e6294fcb9e558188fe104050b94f0b (diff) | |
download | linux-3.10-1c9551878c4629ca78dfe12ed23b9dc8d97770cc.tar.gz linux-3.10-1c9551878c4629ca78dfe12ed23b9dc8d97770cc.tar.bz2 linux-3.10-1c9551878c4629ca78dfe12ed23b9dc8d97770cc.zip |
[CIFS] Add support for legacy servers part 4
Fix WriteX support for old servers which do not support large
files.
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/connect.c')
-rw-r--r-- | fs/cifs/connect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index f784b70abfe..196976049c0 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c @@ -1079,7 +1079,7 @@ cifs_parse_mount_options(char *options, const char *devname,struct smb_vol *vol) } else if (strnicmp(data, "brl", 3) == 0) { vol->nobrl = 0; } else if ((strnicmp(data, "nobrl", 5) == 0) || - (strnicmp(data, "nolock", 6)) { + (strnicmp(data, "nolock", 6) == 0)) { vol->nobrl = 1; /* turn off mandatory locking in mode if remote locking is turned off since the |