summaryrefslogtreecommitdiff
path: root/source3/locking
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-11-29 16:10:22 +0100
committerJeremy Allison <jra@samba.org>2013-04-26 15:17:21 -0700
commitafe9446985663ac47036aa79d1b07de8b46cbd3e (patch)
treec6209cfdfd33f91493b793f8acfc0a7ef87e0da4 /source3/locking
parentb1574ebb0b0b119659ae06a8ef42e8ae161e0988 (diff)
downloadsamba-afe9446985663ac47036aa79d1b07de8b46cbd3e.tar.gz
samba-afe9446985663ac47036aa79d1b07de8b46cbd3e.tar.bz2
samba-afe9446985663ac47036aa79d1b07de8b46cbd3e.zip
smbd: Use dbwrap_record_watch_send for defer_open
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/locking')
-rw-r--r--source3/locking/share_mode_lock.c3
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;
}