summaryrefslogtreecommitdiff
path: root/source3/smbd/notify_internal.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-02-01 15:11:06 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:17:39 -0500
commitbad8c39f1ce48229c1ca545c03de6b7c26b7ba9f (patch)
tree936776b3feaa2c07089c5706af345a50118b1b26 /source3/smbd/notify_internal.c
parent1898eaddb805e86d0c36bd289e7fa61d7bbd4810 (diff)
downloadsamba-bad8c39f1ce48229c1ca545c03de6b7c26b7ba9f.tar.gz
samba-bad8c39f1ce48229c1ca545c03de6b7c26b7ba9f.tar.bz2
samba-bad8c39f1ce48229c1ca545c03de6b7c26b7ba9f.zip
r21111: Reorganize the change notify params a bit. We now have the per-share
parameters change notify = [yes]/no # do we do it at all kernel change notify = [yes]/no # enable/disable inotify Those who want FAM need to say change notify = yes vfs objects = notify_fam Volker (This used to be commit c3a44d8b9606fc516faceb69b8e87bfc8be312f3)
Diffstat (limited to 'source3/smbd/notify_internal.c')
-rw-r--r--source3/smbd/notify_internal.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/smbd/notify_internal.c b/source3/smbd/notify_internal.c
index 506ad15b71..afa4e0922b 100644
--- a/source3/smbd/notify_internal.c
+++ b/source3/smbd/notify_internal.c
@@ -77,8 +77,7 @@ struct notify_context *notify_init(TALLOC_CTX *mem_ctx, struct server_id server,
{
struct notify_context *notify;
- if (!lp_parm_bool(conn->params->service, "notify", "enable",
- True)) {
+ if (!lp_change_notify(conn->params)) {
return NULL;
}