1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-02 09:47:23 +03:00

From Michael Adams,

change one element from private to private_data

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>

(This used to be ctdb commit 0de79352c9b36c118e36905f08ebbe38ecbb957e)
This commit is contained in:
Ronnie Sahlberg 2008-07-22 09:07:42 +10:00
parent 3637add42b
commit 1bfcca524d
2 changed files with 3 additions and 3 deletions

View File

@ -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;
};

View File

@ -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;
}