git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08ec919
)
Fix 'oplocks' in loadparm.
author
Andrew Bartlett
<abartlet@samba.org>
Thu, 27 Mar 2008 23:18:06 +0000
(10:18 +1100)
committer
Andrew Bartlett
<abartlet@samba.org>
Thu, 27 Mar 2008 23:18:06 +0000
(10:18 +1100)
I forgot one more place where I must specify the new config option. I
wish this was more templated...
Andrew Bartlett
source/param/loadparm.c
patch
|
blob
|
history
diff --git
a/source/param/loadparm.c
b/source/param/loadparm.c
index 94f4033352f8317309814109b726261f18da936b..812162e1707381637aef79be14e8a7157a971c4b 100644
(file)
--- a/
source/param/loadparm.c
+++ b/
source/param/loadparm.c
@@
-458,6
+458,7
@@
static struct parm_struct parm_table[] = {
{"csc policy", P_ENUM, P_LOCAL, LOCAL_VAR(iCSCPolicy), NULL, enum_csc_policy},
{"strict locking", P_BOOL, P_LOCAL, LOCAL_VAR(bStrictLocking), NULL, NULL},
+ {"oplocks", P_BOOL, P_LOCAL, LOCAL_VAR(bOplocks), NULL, NULL},
{"share backend", P_STRING, P_GLOBAL, GLOBAL_VAR(szShareBackend), NULL, NULL},
{"preload", P_STRING, P_GLOBAL, GLOBAL_VAR(szAutoServices), NULL, NULL},