summaryrefslogtreecommitdiff
path: root/ctdb/include
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2019-10-04 12:06:21 +1000
committerAmitay Isaacs <amitay@samba.org>2019-10-24 04:06:43 +0000
commit5539edfdbe69d1d5f084d06753cce8ed6e524999 (patch)
treeb5d131f6abfb8ebd731828c73f6fa070987f1ac5 /ctdb/include
parent496204feb0e2b6eb2f3d9a74e45596a3e74ad9b1 (diff)
downloadsamba-5539edfdbe69d1d5f084d06753cce8ed6e524999.tar.gz
ctdb-vacuum: Simplify recording of in-progress vacuuming child
There can only be one, so simplify the logic. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
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 69afef731ed..b42b32a3967 100644
--- a/ctdb/include/ctdb_private.h
+++ b/ctdb/include/ctdb_private.h
@@ -318,7 +318,7 @@ struct ctdb_context {
TALLOC_CTX *banning_ctx;
- struct ctdb_vacuum_child_context *vacuumers;
+ struct ctdb_vacuum_child_context *vacuumer;
/* mapping from pid to ctdb_client * */
struct ctdb_client_pid_list *client_pids;