From: Amitay Isaacs Date: Thu, 15 Feb 2018 01:28:36 +0000 (+1100) Subject: ctdb-tests: Drop code for RECEIVE_RECORDS control X-Git-Tag: samba-4.8.8~137 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d79c2ee2bcad55fec36b4520472a009b3318be6;p=thirdparty%2Fsamba.git ctdb-tests: Drop code for RECEIVE_RECORDS control BUG: https://bugzilla.samba.org/show_bug.cgi?id=13641 Signed-off-by: Amitay Isaacs Reviewed-by: Martin Schwenke (cherry picked from commit 83b3c5670d85c607c1cf1ab8cfc2c967d4d16721) Autobuild-User(v4-8-test): Karolin Seeger Autobuild-Date(v4-8-test): Tue Oct 9 16:04:36 CEST 2018 on sn-devel-144 --- diff --git a/ctdb/tests/src/protocol_common_ctdb.c b/ctdb/tests/src/protocol_common_ctdb.c index 03888f44e62..6a6573486a1 100644 --- a/ctdb/tests/src/protocol_common_ctdb.c +++ b/ctdb/tests/src/protocol_common_ctdb.c @@ -536,12 +536,6 @@ void fill_ctdb_req_control_data(TALLOC_CTX *mem_ctx, fill_ctdb_traverse_all_ext(mem_ctx, cd->data.traverse_all_ext); break; - case CTDB_CONTROL_RECEIVE_RECORDS: - cd->data.recbuf = talloc(mem_ctx, struct ctdb_rec_buffer); - assert(cd->data.recbuf != NULL); - fill_ctdb_rec_buffer(mem_ctx, cd->data.recbuf); - break; - case CTDB_CONTROL_IPREALLOCATED: break; @@ -958,10 +952,6 @@ void verify_ctdb_req_control_data(struct ctdb_req_control_data *cd, cd2->data.traverse_all_ext); break; - case CTDB_CONTROL_RECEIVE_RECORDS: - verify_ctdb_rec_buffer(cd->data.recbuf, cd2->data.recbuf); - break; - case CTDB_CONTROL_IPREALLOCATED: break; @@ -1400,12 +1390,6 @@ void fill_ctdb_reply_control_data(TALLOC_CTX *mem_ctx, case CTDB_CONTROL_TRAVERSE_ALL_EXT: break; - case CTDB_CONTROL_RECEIVE_RECORDS: - cd->data.recbuf = talloc(mem_ctx, struct ctdb_rec_buffer); - assert(cd->data.recbuf != NULL); - fill_ctdb_rec_buffer(mem_ctx, cd->data.recbuf); - break; - case CTDB_CONTROL_IPREALLOCATED: break; @@ -1758,10 +1742,6 @@ void verify_ctdb_reply_control_data(struct ctdb_reply_control_data *cd, case CTDB_CONTROL_TRAVERSE_ALL_EXT: break; - case CTDB_CONTROL_RECEIVE_RECORDS: - verify_ctdb_rec_buffer(cd->data.recbuf, cd2->data.recbuf); - break; - case CTDB_CONTROL_IPREALLOCATED: break;