[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha7-1691-g7781959

Volker Lendecke vlendec at samba.org
Tue May 19 12:55:23 GMT 2009


The branch, master has been updated
       via  77819597f33d85e67257b73e2e82f2ba123ebf25 (commit)
      from  f741b90ee8f74077871a0b5d1df55c0dd34a313f (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 77819597f33d85e67257b73e2e82f2ba123ebf25
Author: Volker Lendecke <vl at samba.org>
Date:   Tue May 19 14:51:03 2009 +0200

    Use TDB_VOLATILE instead of tdb_set_max_dead()

-----------------------------------------------------------------------

Summary of changes:
 source3/lib/messages_local.c |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/lib/messages_local.c b/source3/lib/messages_local.c
index be848ac..0da0546 100644
--- a/source3/lib/messages_local.c
+++ b/source3/lib/messages_local.c
@@ -102,8 +102,8 @@ NTSTATUS messaging_tdb_init(struct messaging_context *msg_ctx,
 
 	ctx->msg_ctx = msg_ctx;
 
-	ctx->tdb = tdb_wrap_open(ctx, lock_path("messages.tdb"),
-				 0, TDB_CLEAR_IF_FIRST|TDB_DEFAULT,
+	ctx->tdb = tdb_wrap_open(ctx, lock_path("messages.tdb"), 0,
+				 TDB_CLEAR_IF_FIRST|TDB_DEFAULT|TDB_VOLATILE,
 				 O_RDWR|O_CREAT,0600);
 
 	if (!ctx->tdb) {
@@ -129,9 +129,6 @@ NTSTATUS messaging_tdb_init(struct messaging_context *msg_ctx,
 
 	sec_init();
 
-	/* Activate the per-hashchain freelist */
-	tdb_set_max_dead(ctx->tdb->tdb, 5);
-
 	*presult = result;
 	return NT_STATUS_OK;
 }


-- 
Samba Shared Repository


More information about the samba-cvs mailing list