summaryrefslogtreecommitdiff
path: root/source3/smbd/notify.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-06-12 17:06:00 +0000
committerAndrew Tridgell <tridge@samba.org>2000-06-12 17:06:00 +0000
commitc8de9b8fe14fe1e6e85652d543615dc187949a1a (patch)
tree23b3a6db0f9a180e001cb549858dd74abb620112 /source3/smbd/notify.c
parentb2d01bd2dbfed8b35cc324fad42eac562fcad3b4 (diff)
downloadsamba-c8de9b8fe14fe1e6e85652d543615dc187949a1a.tar.gz
samba-c8de9b8fe14fe1e6e85652d543615dc187949a1a.tar.bz2
samba-c8de9b8fe14fe1e6e85652d543615dc187949a1a.zip
enable the Linux change notify code and change some notify debug code
(This used to be commit c6be511fcc1be79619a0184f03d4c33dbfe12f04)
Diffstat (limited to 'source3/smbd/notify.c')
-rw-r--r--source3/smbd/notify.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/smbd/notify.c b/source3/smbd/notify.c
index 40867a71ee..c577d0aef3 100644
--- a/source3/smbd/notify.c
+++ b/source3/smbd/notify.c
@@ -212,7 +212,10 @@ initialise the change notify subsystem
****************************************************************************/
BOOL init_change_notify(void)
{
- cnotify = hash_notify_init();
+#if HAVE_KERNEL_CHANGE_NOTIFY
+ cnotify = kernel_notify_init();
+#endif
+ if (!cnotify) cnotify = hash_notify_init();
if (!cnotify) {
DEBUG(0,("Failed to init change notify system\n"));