projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16abbec
)
[CIFS] Add nolock synonym (ala nfs) for nobrl to disable sending byte range
author
Steve French
<sfrench@us.ibm.com>
Tue, 30 Aug 2005 22:25:52 +0000
(15:25 -0700)
committer
Steve French
<sfrench@us.ibm.com>
Tue, 30 Aug 2005 22:25:52 +0000
(15:25 -0700)
locks remotely.
Signed-off-by: Steve French (sfrench@us.ibm.com)
fs/cifs/connect.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/cifs/connect.c
b/fs/cifs/connect.c
index 134195cc40731c0530160cb8497b17e6a53b51d0..f784b70abfeb5b95597d0a9f40c6b1952322930b 100644
(file)
--- 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)
vol->nocase = 1;
} else if (strnicmp(data, "brl", 3) == 0) {
vol->nobrl = 0;
- } else if (strnicmp(data, "nobrl", 5) == 0) {
+ } else if ((strnicmp(data, "nobrl", 5) == 0) ||
+ (strnicmp(data, "nolock", 6)) {
vol->nobrl = 1;
/* turn off mandatory locking in mode
if remote locking is turned off since the