diff options
author | Jeremy Allison <jra@samba.org> | 2002-12-12 02:01:56 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2002-12-12 02:01:56 +0000 |
commit | d0fe43f918eae56d60398231f53266698d732fd7 (patch) | |
tree | 2d252463b8ac712fb748f247ed11bfaec524b49a /source3/smbd | |
parent | d3f53e7f4ed6682b78b8314742248d8a5f2f040b (diff) | |
download | samba-d0fe43f918eae56d60398231f53266698d732fd7.tar.gz samba-d0fe43f918eae56d60398231f53266698d732fd7.tar.bz2 samba-d0fe43f918eae56d60398231f53266698d732fd7.zip |
Added "kernel change notify" boolean to allow easier valgrind testing.
Jeremy.
(This used to be commit faf89f214f326bc07f728b354062b2287cda1208)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/notify.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/notify.c b/source3/smbd/notify.c index 0895ddaf87..de1b331778 100644 --- a/source3/smbd/notify.c +++ b/source3/smbd/notify.c @@ -207,7 +207,8 @@ BOOL change_notify_set(char *inbuf, files_struct *fsp, connection_struct *conn, BOOL init_change_notify(void) { #if HAVE_KERNEL_CHANGE_NOTIFY - cnotify = kernel_notify_init(); + if (lp_kernel_change_notify()) + cnotify = kernel_notify_init(); #endif if (!cnotify) cnotify = hash_notify_init(); |