diff options
author | Amitay Isaacs <amitay@gmail.com> | 2019-11-12 14:14:53 +1100 |
---|---|---|
committer | Martin Schwenke <martins@samba.org> | 2019-11-13 13:31:10 +0000 |
commit | 816205027a12d16b5de7c1fd78b4bed468a94fbb (patch) | |
tree | 879a7f50f0bc9ee1f1918e4aa2d8229835b04b21 /ctdb/ib | |
parent | 86e418f992e1bb1faaa099567e0f80f280d391b6 (diff) | |
download | samba-816205027a12d16b5de7c1fd78b4bed468a94fbb.tar.gz |
ctdb-ib: Fix build errors for infiniband transport
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Wed Nov 13 13:31:10 UTC 2019 on sn-devel-184
Diffstat (limited to 'ctdb/ib')
-rw-r--r-- | ctdb/ib/ibwrapper.c | 1 | ||||
-rw-r--r-- | ctdb/ib/ibwrapper_test.c | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/ctdb/ib/ibwrapper.c b/ctdb/ib/ibwrapper.c index 5ca3b946f00..cf4efa579e2 100644 --- a/ctdb/ib/ibwrapper.c +++ b/ctdb/ib/ibwrapper.c @@ -32,7 +32,6 @@ #include "common/logging.h" -#include <infiniband/kern-abi.h> #include <rdma/rdma_cma_abi.h> #include <rdma/rdma_cma.h> diff --git a/ctdb/ib/ibwrapper_test.c b/ctdb/ib/ibwrapper_test.c index 5eb3209b68c..77a5323fbf1 100644 --- a/ctdb/ib/ibwrapper_test.c +++ b/ctdb/ib/ibwrapper_test.c @@ -551,7 +551,7 @@ int main(int argc, char *argv[]) memset(tcx, 0, sizeof(struct ibwtest_ctx)); tcx->nsec = 0; tcx->nmsg = 1000; - DEBUGLEVEL = 0; + debuglevel_set(0); /* here is the only case we can't avoid using global... */ testctx = tcx; @@ -590,7 +590,7 @@ int main(int argc, char *argv[]) tcx->maxsize = (unsigned int)atoi(optarg); break; case 'd': - DEBUGLEVEL = atoi(optarg); + debuglevel_set(atoi(optarg)); break; default: fprintf(stderr, "ERROR: unknown option -%c\n", (char)op); |