summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2010-12-10 14:07:21 +0100
committerMichael Adam <obnox@samba.org>2011-03-14 13:35:45 +0100
commit73e6618a487b4849e0bb790bdd85f3a889423297 (patch)
treecb338e4baf0fe28b621e69c98a5575259f96fde6
parenteb1b7d1c0584c0db4f07610a0a52c0962760bb0e (diff)
downloadsamba-73e6618a487b4849e0bb790bdd85f3a889423297.tar.gz
samba-73e6618a487b4849e0bb790bdd85f3a889423297.tar.xz
samba-73e6618a487b4849e0bb790bdd85f3a889423297.zip
call: hand the submitted record_flags to local record storage function.
(This used to be ctdb commit 4079b8bf7a57a27a45d29784a1b0a414c778e552)
-rw-r--r--ctdb/server/ctdb_call.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ctdb/server/ctdb_call.c b/ctdb/server/ctdb_call.c
index a94097ea64..44c633daef 100644
--- a/ctdb/server/ctdb_call.c
+++ b/ctdb/server/ctdb_call.c
@@ -280,6 +280,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");