[SCM] Samba Shared Repository - branch master updated

Volker Lendecke vlendec at samba.org
Fri Mar 5 07:33:30 MST 2010


The branch, master has been updated
       via  a5db279... s3: Remove the unused parameter "persistent" from fetch_locked_internal
       via  c7835a4... s3: db->persistent==true was handled earlier, make this more obvious
      from  d4db966... s4-smbtorture: when checking PrinterData matrix, include winreg cross reference checks.

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


- Log -----------------------------------------------------------------
commit a5db27936e9c6aad99300ea46808481803f57e08
Author: Volker Lendecke <vl at samba.org>
Date:   Fri Mar 5 15:30:22 2010 +0100

    s3: Remove the unused parameter "persistent" from fetch_locked_internal

commit c7835a4845bbc7e4d340a75229866b2d4946f6eb
Author: Volker Lendecke <vl at samba.org>
Date:   Fri Mar 5 15:28:39 2010 +0100

    s3: db->persistent==true was handled earlier, make this more obvious

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

Summary of changes:
 source3/lib/dbwrap_ctdb.c |   10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/lib/dbwrap_ctdb.c b/source3/lib/dbwrap_ctdb.c
index ddc8868..938a312 100644
--- a/source3/lib/dbwrap_ctdb.c
+++ b/source3/lib/dbwrap_ctdb.c
@@ -52,11 +52,6 @@ struct db_ctdb_rec {
 	struct ctdb_ltdb_header header;
 };
 
-static struct db_record *fetch_locked_internal(struct db_ctdb_ctx *ctx,
-					       TALLOC_CTX *mem_ctx,
-					       TDB_DATA key,
-					       bool persistent);
-
 static NTSTATUS tdb_error_to_ntstatus(struct tdb_context *tdb)
 {
 	NTSTATUS status;
@@ -921,8 +916,7 @@ static int db_ctdb_record_destr(struct db_record* data)
 
 static struct db_record *fetch_locked_internal(struct db_ctdb_ctx *ctx,
 					       TALLOC_CTX *mem_ctx,
-					       TDB_DATA key,
-					       bool persistent)
+					       TDB_DATA key)
 {
 	struct db_record *result;
 	struct db_ctdb_rec *crec;
@@ -1050,7 +1044,7 @@ static struct db_record *db_ctdb_fetch_locked(struct db_context *db,
 		return db_ctdb_fetch_locked_persistent(ctx, mem_ctx, key);
 	}
 
-	return fetch_locked_internal(ctx, mem_ctx, key, db->persistent);
+	return fetch_locked_internal(ctx, mem_ctx, key);
 }
 
 /*


-- 
Samba Shared Repository


More information about the samba-cvs mailing list