change one of the reserved words in the ctdb ltdb header to be a flags field
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Mon, 6 Dec 2010 02:04:44 +0000 (13:04 +1100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Mon, 6 Dec 2010 03:47:55 +0000 (14:47 +1100)
for now, try avoiding using bits in the low16 bits as flags since this may
collide with laccessor/lacount values from previous versions of the cluster
databases

include/ctdb_protocol.h

index 12e4c89be41d04c96cc35f6ccff8686aa1f22e99..52290e890cd243dddf77ca78b8a671ac192afaaa 100644 (file)
@@ -477,7 +477,7 @@ struct ctdb_ltdb_header {
        uint64_t rsn;
        uint32_t dmaster;
        uint32_t reserved1;
-       uint32_t reserved2;
+       uint32_t flags;
 };