[SCM] CTDB repository - branch master updated - 00b1a635e3d61ca7c5487d65ac54f3eb6ea7355e

Andrew Tridgell tridge at samba.org
Fri Jul 4 07:40:38 GMT 2008


The branch, master has been updated
       via  00b1a635e3d61ca7c5487d65ac54f3eb6ea7355e (commit)
      from  f3a729998ce67f5d2e3b2ad41d96e8f04c0d18d8 (commit)

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


- Log -----------------------------------------------------------------
commit 00b1a635e3d61ca7c5487d65ac54f3eb6ea7355e
Author: Andrew Tridgell <tridge at samba.org>
Date:   Fri Jul 4 17:40:25 2008 +1000

    ensure pad bytes in the ltdb_header are initialised

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

Summary of changes:
 common/ctdb_ltdb.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/common/ctdb_ltdb.c b/common/ctdb_ltdb.c
index a6bf268..f360458 100644
--- a/common/ctdb_ltdb.c
+++ b/common/ctdb_ltdb.c
@@ -62,11 +62,10 @@ static void ltdb_initial_header(struct ctdb_db_context *ctdb_db,
 				TDB_DATA key,
 				struct ctdb_ltdb_header *header)
 {
-	header->rsn = 0;
+	ZERO_STRUCTP(header);
 	/* initial dmaster is the lmaster */
 	header->dmaster = ctdb_lmaster(ctdb_db->ctdb, &key);
 	header->laccessor = header->dmaster;
-	header->lacount = 0;
 }
 
 


-- 
CTDB repository


More information about the samba-cvs mailing list