git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50cd520
)
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)
(This used to be ctdb commit
00b1a635e3d61ca7c5487d65ac54f3eb6ea7355e
)
ctdb/common/ctdb_ltdb.c
patch
|
blob
|
history
diff --git
a/ctdb/common/ctdb_ltdb.c
b/ctdb/common/ctdb_ltdb.c
index a6bf26817aae9a6142d3076acd88010ad453c2a0..f3604584fbe9d79756b5c4840e8cfaa3b64e5a33 100644
(file)
--- a/
ctdb/common/ctdb_ltdb.c
+++ b/
ctdb/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;
}