1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-08 04:58:40 +03:00

vacuum: initialize the delete_count in the vacuum data

(This used to be ctdb commit 970b8fc60857ad2f18f45312d355c571fb2f0246)
This commit is contained in:
Michael Adam 2011-12-13 15:58:52 +01:00
parent e30d1828f1
commit 745eb05e02

View File

@ -496,6 +496,7 @@ static int ctdb_vacuum_db(struct ctdb_db_context *ctdb_db,
vdata->full_skipped = 0;
vdata->full_error = 0;
vdata->full_total = 0;
vdata->delete_count = 0;
/* the list needs to be of length num_nodes */
vdata->list = talloc_array(vdata, struct ctdb_marshall_buffer *, ctdb->num_nodes);