r25430: Add the loadparm context to all parametric options.
[gd/samba-autobuild/.git] / source4 / ntvfs / sysdep / inotify.c
index b73ee2c5261fc03ba763af2ac385c6ca79e0ba18..191212580b62b1f0fe7d249133ce4cb5a8d2dac8 100644 (file)
@@ -245,7 +245,7 @@ static NTSTATUS inotify_setup(struct sys_notify_context *ctx)
 {
        struct inotify_private *in;
 
-       if (!lp_parm_bool(NULL, "notify", "inotify", true)) {
+       if (!lp_parm_bool(global_loadparm, NULL, "notify", "inotify", true)) {
                return NT_STATUS_INVALID_SYSTEM_SERVICE;
        }