diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-06-12 17:06:00 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-06-12 17:06:00 +0000 |
commit | c8de9b8fe14fe1e6e85652d543615dc187949a1a (patch) | |
tree | 23b3a6db0f9a180e001cb549858dd74abb620112 /source3/smbd/notify.c | |
parent | b2d01bd2dbfed8b35cc324fad42eac562fcad3b4 (diff) | |
download | samba-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.c | 5 |
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")); |