[SCM] CTDB repository - branch libctdb updated - ctdb-1.0.114-116-g90fb6ca

Ronnie Sahlberg sahlberg at samba.org
Mon May 17 20:52:23 MDT 2010


The branch, libctdb has been updated
       via  90fb6caf1706454d8ec94f8022e61beb93a93f51 (commit)
      from  d3a2827be3277cd1cd3c4d10c2d3035decc2bcfd (commit)

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


- Log -----------------------------------------------------------------
commit 90fb6caf1706454d8ec94f8022e61beb93a93f51
Author: Ronnie Sahlberg <ronniesahlberg at gmail.com>
Date:   Tue May 18 12:48:12 2010 +1000

    add a missing argument to the macros to test for samba/test owner for a particular server id

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

Summary of changes:
 include/ctdb.h |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)


Changeset truncated at 500 lines:

diff --git a/include/ctdb.h b/include/ctdb.h
index c9ca36a..dc24499 100644
--- a/include/ctdb.h
+++ b/include/ctdb.h
@@ -162,14 +162,14 @@ int ctdb_writerecord(ctdb_handle *handle,
 /*
    Samba owns all message handler IDs where the top 32 bits are all zero
 */
-#define CTDB_SRVID_SAMBA	0x0000000000000000
-#define CTDB_IS_SAMBA_SRVID	((srvid & CTDB_SRVID_MASK) == CTDB_SRVID_SAMBA)
+#define CTDB_SRVID_SAMBA		0x0000000000000000
+#define CTDB_IS_SAMBA_SRVID(srvid)	((srvid & CTDB_SRVID_MASK) == CTDB_SRVID_SAMBA)
 
 /*
    Server ids reserved for testing 
 */
-#define CTDB_SRVID_TEST		0x0000000100000000
-#define CTDB_IS_TEST_SRVID	((srvid & CTDB_SRVID_MASK) == CTDB_SRVID_TEST)
+#define CTDB_SRVID_TEST			0x0000000100000000
+#define CTDB_IS_TEST_SRVID(srvid)	((srvid & CTDB_SRVID_MASK) == CTDB_SRVID_TEST)
 
 /*
   srvid type : RECOVERY


-- 
CTDB repository


More information about the samba-cvs mailing list