summaryrefslogtreecommitdiffstats
path: root/lib/param/param_table.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-09-08 10:47:51 +0200
committerStefan Metzmacher <metze@samba.org>2012-09-08 11:10:54 +0200
commitda071869628c8b6ea6ed01b4f1083680114505a9 (patch)
treecaf7c6065081ff57df900ba813fa7a51b2f88501 /lib/param/param_table.c
parentf2f47b4bae8761d12a878957afac6397565aaf2c (diff)
downloadsamba-da071869628c8b6ea6ed01b4f1083680114505a9.tar.gz
samba-da071869628c8b6ea6ed01b4f1083680114505a9.tar.xz
samba-da071869628c8b6ea6ed01b4f1083680114505a9.zip
s3: add an option "kernel share modes" to be able to switch off using kernel flocks
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'lib/param/param_table.c')
-rw-r--r--lib/param/param_table.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/param/param_table.c b/lib/param/param_table.c
index 2aa392a683..23489ae01f 100644
--- a/lib/param/param_table.c
+++ b/lib/param/param_table.c
@@ -3001,6 +3001,15 @@ static struct parm_struct parm_table[] = {
.flags = FLAG_ADVANCED | FLAG_SHARE | FLAG_GLOBAL,
},
{
+ .label = "kernel share modes",
+ .type = P_BOOL,
+ .p_class = P_LOCAL,
+ .offset = LOCAL_VAR(bKernelShareModes),
+ .special = NULL,
+ .enum_list = NULL,
+ .flags = FLAG_ADVANCED | FLAG_SHARE | FLAG_GLOBAL,
+ },
+ {
.label = "locking",
.type = P_BOOL,
.p_class = P_LOCAL,