diff options
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")); |