diff options
author | Michael Adam <obnox@samba.org> | 2014-01-28 12:33:42 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2014-02-07 16:06:07 +0100 |
commit | bbf0903d6bf60afc38b75332e36d81868c05d22c (patch) | |
tree | 704d54ba29a1a5be082635b12d3c1499308aff82 /source3 | |
parent | 906abe55cbc6f0e2daed93975411d4fc1ece5d3a (diff) | |
download | samba-bbf0903d6bf60afc38b75332e36d81868c05d22c.tar.gz samba-bbf0903d6bf60afc38b75332e36d81868c05d22c.tar.xz samba-bbf0903d6bf60afc38b75332e36d81868c05d22c.zip |
dbwrap: add a dbwrap_flags argument to db_open_tdb()
...for consistency and in preparation of future flags
that the tdb backend might be aware of.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/notify_internal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/notify_internal.c b/source3/smbd/notify_internal.c index 0a7e5dea22..4d885651ba 100644 --- a/source3/smbd/notify_internal.c +++ b/source3/smbd/notify_internal.c @@ -137,7 +137,7 @@ struct notify_context *notify_init(TALLOC_CTX *mem_ctx, notify->db_notify = db_open_tdb( notify, lp_ctx, lock_path("notify.tdb"), 0, TDB_CLEAR_IF_FIRST|TDB_INCOMPATIBLE_HASH, - O_RDWR|O_CREAT, 0644, DBWRAP_LOCK_ORDER_2); + O_RDWR|O_CREAT, 0644, DBWRAP_LOCK_ORDER_2, DBWRAP_FLAG_NONE); talloc_unlink(notify, lp_ctx); if (notify->db_notify == NULL) { goto fail; |