diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h index 66e77093126..77d10926603 100644 --- a/ctdb/include/ctdb_private.h +++ b/ctdb/include/ctdb_private.h @@ -1098,7 +1098,7 @@ struct ctdb_client_call_state { struct ctdb_call *call; struct { void (*fn)(struct ctdb_client_call_state *); - void *private; + void *private_data; } async; }; diff --git a/ctdb/server/ctdb_recoverd.c b/ctdb/server/ctdb_recoverd.c index b2533afc9cb..64a05a777e7 100644 --- a/ctdb/server/ctdb_recoverd.c +++ b/ctdb/server/ctdb_recoverd.c @@ -775,7 +775,7 @@ static void vacuum_fetch_next(struct vacuum_info *v); */ static void vacuum_fetch_callback(struct ctdb_client_call_state *state) { - struct vacuum_info *v = talloc_get_type(state->async.private, struct vacuum_info); + struct vacuum_info *v = talloc_get_type(state->async.private_data, struct vacuum_info); talloc_free(state); vacuum_fetch_next(v); } @@ -841,7 +841,7 @@ static void vacuum_fetch_next(struct vacuum_info *v) return; } state->async.fn = vacuum_fetch_callback; - state->async.private = v; + state->async.private_data = v; return; }