summaryrefslogtreecommitdiff
path: root/ctdb/protocol/protocol_control.c
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2017-06-30 00:16:58 +1000
committerMartin Schwenke <martins@samba.org>2017-08-30 14:59:23 +0200
commit5caafc285731fe7d78356cc34f183dadda43c775 (patch)
treeda15c31ca038fc704036eb60952cefef95417507 /ctdb/protocol/protocol_control.c
parentbad58078fa917bc3375a86d92e7f8d3c14737744 (diff)
downloadsamba-5caafc285731fe7d78356cc34f183dadda43c775.tar.gz
ctdb-protocol: Fix marshalling for ctdb_traverse_start_ext
Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'ctdb/protocol/protocol_control.c')
-rw-r--r--ctdb/protocol/protocol_control.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/ctdb/protocol/protocol_control.c b/ctdb/protocol/protocol_control.c
index 12d479d8fee..a8cfe769e0f 100644
--- a/ctdb/protocol/protocol_control.c
+++ b/ctdb/protocol/protocol_control.c
@@ -652,7 +652,8 @@ static void ctdb_req_control_data_push(struct ctdb_req_control_data *cd,
break;
case CTDB_CONTROL_TRAVERSE_START_EXT:
- ctdb_traverse_start_ext_push(cd->data.traverse_start_ext, buf);
+ ctdb_traverse_start_ext_push(cd->data.traverse_start_ext, buf,
+ &np);
break;
case CTDB_CONTROL_GET_DB_STATISTICS:
@@ -970,7 +971,8 @@ static int ctdb_req_control_data_pull(uint8_t *buf, size_t buflen,
case CTDB_CONTROL_TRAVERSE_START_EXT:
ret = ctdb_traverse_start_ext_pull(buf, buflen, mem_ctx,
- &cd->data.traverse_start_ext);
+ &cd->data.traverse_start_ext,
+ &np);
break;
case CTDB_CONTROL_GET_DB_STATISTICS: