summaryrefslogtreecommitdiff
path: root/lib/param
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2014-11-21 16:02:27 +0100
committerJeremy Allison <jra@samba.org>2015-07-07 23:51:24 +0200
commita24f0379aca67bf8126878b8a671964d7d936c1c (patch)
tree4a3de0cb2c64d48e75edefb8bdab2e3c7a3b8af6 /lib/param
parente5895c3c37885c3538666bf6cde75881156419cf (diff)
downloadsamba-a24f0379aca67bf8126878b8a671964d7d936c1c.tar.gz
param: Make "kernel change notify" global
With a central notifyd, we can't do this per share anymore. Notifyd will only look at absolute paths, not shares. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'lib/param')
-rw-r--r--lib/param/param_table.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/param/param_table.c b/lib/param/param_table.c
index 9a5881fb82b..0fdd50dad19 100644
--- a/lib/param/param_table.c
+++ b/lib/param/param_table.c
@@ -1676,8 +1676,8 @@ struct parm_struct parm_table[] = {
{
.label = "kernel change notify",
.type = P_BOOL,
- .p_class = P_LOCAL,
- .offset = LOCAL_VAR(kernel_change_notify),
+ .p_class = P_GLOBAL,
+ .offset = GLOBAL_VAR(kernel_change_notify),
.special = NULL,
.enum_list = NULL,
},