From: Jelmer Vernooij Date: Sun, 2 Nov 2008 18:32:50 +0000 (+0100) Subject: Remove last instance of global_loadparm. X-Git-Tag: samba-4.0.0alpha6~526 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a9dbd73b2f1400347bf9db7b6da2020fb5c11494;p=thirdparty%2Fsamba.git Remove last instance of global_loadparm. --- diff --git a/source4/ntvfs/sysdep/inotify.c b/source4/ntvfs/sysdep/inotify.c index 68653d60bd9..c47a1216c88 100644 --- a/source4/ntvfs/sysdep/inotify.c +++ b/source4/ntvfs/sysdep/inotify.c @@ -339,10 +339,6 @@ static NTSTATUS inotify_watch(struct sys_notify_context *ctx, /* maybe setup the inotify fd */ if (ctx->private_data == NULL) { NTSTATUS status; - if (!lp_parm_bool(global_loadparm, NULL, "notify", "inotify", true)) { - return NT_STATUS_INVALID_SYSTEM_SERVICE; - } - status = inotify_setup(ctx); NT_STATUS_NOT_OK_RETURN(status); } diff --git a/source4/ntvfs/sysdep/sys_notify.c b/source4/ntvfs/sysdep/sys_notify.c index d84979e44ce..a27386bb130 100644 --- a/source4/ntvfs/sysdep/sys_notify.c +++ b/source4/ntvfs/sysdep/sys_notify.c @@ -71,6 +71,17 @@ _PUBLIC_ struct sys_notify_context *sys_notify_context_create(struct share_confi } for (i=0;i