[SCM] CTDB repository - branch master updated - ctdb-1.10-422-g2cc48be

Ronnie Sahlberg sahlberg at samba.org
Tue Aug 23 00:34:34 MDT 2011


The branch, master has been updated
       via  2cc48be3219b887b85649a14db311af0549041cf (commit)
      from  cd1080726d7787b335ab4bfb64a7991237ab92f5 (commit)

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


- Log -----------------------------------------------------------------
commit 2cc48be3219b887b85649a14db311af0549041cf
Author: Ronnie Sahlberg <ronniesahlberg at gmail.com>
Date:   Tue Aug 23 16:15:34 2011 +1000

    LibCTDB : initialize ctdb->pnn to -1 when we create a new context
    but before we learn the pnn of the local node

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

Summary of changes:
 libctdb/ctdb.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/libctdb/ctdb.c b/libctdb/ctdb.c
index d51f4a1..72841db 100644
--- a/libctdb/ctdb.c
+++ b/libctdb/ctdb.c
@@ -151,6 +151,7 @@ struct ctdb_connection *ctdb_connect(const char *addr,
 		log_fn(log_priv, LOG_ERR, "ctdb_connect: no memory", ap);
 		goto fail;
 	}
+	ctdb->pnn = -1;
 	ctdb->outq = NULL;
 	ctdb->doneq = NULL;
 	ctdb->in = NULL;


-- 
CTDB repository


More information about the samba-cvs mailing list