summaryrefslogtreecommitdiffstats
path: root/ctdb/include
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronniesahlberg@gmail.com>2011-07-20 13:30:12 +1000
committerRonnie Sahlberg <ronniesahlberg@gmail.com>2011-08-23 10:25:05 +1000
commit3d495c48d22c81e812424a984fa715fac7817443 (patch)
tree778de07b7da9091142f723269362f04417b75306 /ctdb/include
parentb01dc029caab470618eb7da97a66cf35bc4cbdec (diff)
downloadsamba-3d495c48d22c81e812424a984fa715fac7817443.tar.gz
samba-3d495c48d22c81e812424a984fa715fac7817443.tar.xz
samba-3d495c48d22c81e812424a984fa715fac7817443.zip
ReadOnly: Add an extra flag to ctdb_call_local to specify whether we want to write the record and header back to the tdb (for example we do when performing dmaster migrations)
(This used to be ctdb commit b935e83255aeb3754b2fd37cf5611e02f7283514)
Diffstat (limited to 'ctdb/include')
-rw-r--r--ctdb/include/ctdb_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h
index d0f0dc4972..f7ab821b16 100644
--- a/ctdb/include/ctdb_private.h
+++ b/ctdb/include/ctdb_private.h
@@ -791,7 +791,7 @@ struct ctdb_call_state *ctdb_daemon_call_send_remote(struct ctdb_db_context *ctd
int ctdb_call_local(struct ctdb_db_context *ctdb_db, struct ctdb_call *call,
struct ctdb_ltdb_header *header, TALLOC_CTX *mem_ctx,
- TDB_DATA *data);
+ TDB_DATA *data, bool updatetdb);
#define ctdb_reqid_find(ctdb, reqid, type) (type *)_ctdb_reqid_find(ctdb, reqid, #type, __location__)