diff options
Diffstat (limited to 'source3/locking')
-rw-r--r-- | source3/locking/share_mode_lock.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/locking/share_mode_lock.c b/source3/locking/share_mode_lock.c index d45b450d94..0693cf5408 100644 --- a/source3/locking/share_mode_lock.c +++ b/source3/locking/share_mode_lock.c @@ -46,6 +46,7 @@ #include "messages.h" #include "util_tdb.h" #include "../librpc/gen_ndr/ndr_open_files.h" +#include "source3/lib/dbwrap/dbwrap_watch.h" #undef DBGC_CLASS #define DBGC_CLASS DBGC_LOCKING @@ -76,6 +77,8 @@ static bool locking_init_internal(bool read_only) if (!posix_locking_init(read_only)) return False; + dbwrap_watch_db(lock_db, server_messaging_context()); + return True; } |