git.samba.org
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16955e3
)
call: hand the submitted record_flags to local record storage function.
author
Michael Adam
<obnox@samba.org>
Fri, 10 Dec 2010 13:07:21 +0000
(14:07 +0100)
committer
Michael Adam
<obnox@samba.org>
Wed, 9 Mar 2011 23:01:40 +0000
(
00:01
+0100)
server/ctdb_call.c
patch
|
blob
|
history
diff --git
a/server/ctdb_call.c
b/server/ctdb_call.c
index b02b843147b33783147fd95d5fccf251dca2fee2..cb49a1d92a4991808eccee33202b46cc774b2b66 100644
(file)
--- a/
server/ctdb_call.c
+++ b/
server/ctdb_call.c
@@
-259,6
+259,7
@@
static void ctdb_become_dmaster(struct ctdb_db_context *ctdb_db,
ZERO_STRUCT(header);
header.rsn = rsn + 1;
header.dmaster = ctdb->pnn;
+ header.flags = record_flags;
if (ctdb_ltdb_store(ctdb_db, key, &header, data) != 0) {
ctdb_fatal(ctdb, "ctdb_reply_dmaster store failed\n");