summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-02-03 16:30:52 +0100
committerMichael Adam <obnox@samba.org>2011-03-14 13:35:51 +0100
commit9c91e1695503fa7d989469f0f0536750dce9e9b7 (patch)
tree93cf10ca7445b6a6966dd6042b9ab20d929705be
parent827e871ec42da6f00cfd9b99ff1aabc8a81eef17 (diff)
downloadsamba-9c91e1695503fa7d989469f0f0536750dce9e9b7.tar.gz
samba-9c91e1695503fa7d989469f0f0536750dce9e9b7.tar.xz
samba-9c91e1695503fa7d989469f0f0536750dce9e9b7.zip
ltdb: add the CTDB_REC_FLAG_AUTOMATIC to the initial header in ctdb_ltdb_fetch()
Signals that this record was not created by a client level store. (This used to be ctdb commit 69d34983a37b0324ff7610b8dfdcd8d13bf81c54)
-rw-r--r--ctdb/common/ctdb_ltdb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ctdb/common/ctdb_ltdb.c b/ctdb/common/ctdb_ltdb.c
index b5e586568c..3ee7fe8314 100644
--- a/ctdb/common/ctdb_ltdb.c
+++ b/ctdb/common/ctdb_ltdb.c
@@ -65,6 +65,7 @@ static void ltdb_initial_header(struct ctdb_db_context *ctdb_db,
ZERO_STRUCTP(header);
/* initial dmaster is the lmaster */
header->dmaster = ctdb_lmaster(ctdb_db->ctdb, &key);
+ header->flags = CTDB_REC_FLAG_AUTOMATIC;
}