summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2014-04-19 03:36:49 +0200
committerMichael Adam <obnox@samba.org>2014-06-17 09:33:10 +0200
commitb8658b395921a5400c9f794a07748f5ad18991f8 (patch)
tree253c5860eb0f672a333110125156a067b496c9f7
parentc3cb8c277a02a8a68c11ef8d341c8116172e989b (diff)
downloadsamba-b8658b395921a5400c9f794a07748f5ad18991f8.tar.gz
samba-b8658b395921a5400c9f794a07748f5ad18991f8.tar.xz
samba-b8658b395921a5400c9f794a07748f5ad18991f8.zip
ctdb:vacuum: remove now unused talloc ctx argument from ctdb_vacuum_db()
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
-rw-r--r--ctdb/server/ctdb_vacuum.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ctdb/server/ctdb_vacuum.c b/ctdb/server/ctdb_vacuum.c
index 46c8c93c47..d1cb4de27e 100644
--- a/ctdb/server/ctdb_vacuum.c
+++ b/ctdb/server/ctdb_vacuum.c
@@ -1332,7 +1332,6 @@ static int ctdb_vacuum_db(struct ctdb_db_context *ctdb_db,
* called from the child context
*/
static int ctdb_vacuum_and_repack_db(struct ctdb_db_context *ctdb_db,
- TALLOC_CTX *mem_ctx,
bool full_vacuum_run)
{
uint32_t repack_limit = ctdb_db->ctdb->tunable.repack_limit;
@@ -1522,8 +1521,7 @@ ctdb_vacuum_event(struct event_context *ev, struct timed_event *te,
{
full_vacuum_run = true;
}
- cc = ctdb_vacuum_and_repack_db(ctdb_db, child_ctx,
- full_vacuum_run);
+ cc = ctdb_vacuum_and_repack_db(ctdb_db, full_vacuum_run);
write(child_ctx->fd[1], &cc, 1);
_exit(0);