diff options
author | Michael Adam <obnox@samba.org> | 2014-02-14 18:08:20 +0100 |
---|---|---|
committer | Amitay Isaacs <amitay@gmail.com> | 2014-03-06 11:31:12 +1100 |
commit | 04c2115b606f2346fc7315a503b3dae0189e0737 (patch) | |
tree | 1f16ae24556b7dd9b5851f5831fca09079b512b5 /ctdb | |
parent | 951efa1097a113910c06ce78d1c9fb70e3f4d75e (diff) | |
download | samba-04c2115b606f2346fc7315a503b3dae0189e0737.tar.gz samba-04c2115b606f2346fc7315a503b3dae0189e0737.tar.xz samba-04c2115b606f2346fc7315a503b3dae0189e0737.zip |
ctdb-vacuum: rename private->private_data in repack_traverse
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'ctdb')
-rw-r--r-- | ctdb/server/ctdb_vacuum.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ctdb/server/ctdb_vacuum.c b/ctdb/server/ctdb_vacuum.c index 9ba4a84efa..889b5b4b39 100644 --- a/ctdb/server/ctdb_vacuum.c +++ b/ctdb/server/ctdb_vacuum.c @@ -1302,9 +1302,10 @@ static int ctdb_vacuum_db(struct ctdb_db_context *ctdb_db, /* * traverse function for repacking */ -static int repack_traverse(struct tdb_context *tdb, TDB_DATA key, TDB_DATA data, void *private) +static int repack_traverse(struct tdb_context *tdb, TDB_DATA key, TDB_DATA data, + void *private_data) { - struct vacuum_data *vdata = (struct vacuum_data *)private; + struct vacuum_data *vdata = (struct vacuum_data *)private_data; if (vdata->vacuum) { uint32_t hash = ctdb_hash(&key); |