diff options
author | Volker Lendecke <vl@samba.org> | 2012-11-29 16:10:22 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2013-04-26 15:17:21 -0700 |
commit | afe9446985663ac47036aa79d1b07de8b46cbd3e (patch) | |
tree | c6209cfdfd33f91493b793f8acfc0a7ef87e0da4 /source3/locking | |
parent | b1574ebb0b0b119659ae06a8ef42e8ae161e0988 (diff) | |
download | samba-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.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; } |