git.samba.org
/
metze
/
ctdb
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3a7299
)
ensure pad bytes in the ltdb_header are initialised
author
Andrew Tridgell
<tridge@samba.org>
Fri, 4 Jul 2008 07:40:25 +0000
(17:40 +1000)
committer
Andrew Tridgell
<tridge@samba.org>
Fri, 4 Jul 2008 07:40:25 +0000
(17:40 +1000)
common/ctdb_ltdb.c
patch
|
blob
|
history
diff --git
a/common/ctdb_ltdb.c
b/common/ctdb_ltdb.c
index a6bf26817aae9a6142d3076acd88010ad453c2a0..f3604584fbe9d79756b5c4840e8cfaa3b64e5a33 100644
(file)
--- 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;
}