diff options
author | Michael Adam <obnox@samba.org> | 2011-12-13 15:58:52 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2011-12-23 17:39:03 +0100 |
commit | 745eb05e026fff28d19ba178a593983998c181e1 (patch) | |
tree | ff72adb2fb637538f376d35cde71be7e6a92f69c | |
parent | e30d1828f19d3318b2e2e64bf474d58c5bac9892 (diff) | |
download | samba-745eb05e026fff28d19ba178a593983998c181e1.tar.gz samba-745eb05e026fff28d19ba178a593983998c181e1.tar.xz samba-745eb05e026fff28d19ba178a593983998c181e1.zip |
vacuum: initialize the delete_count in the vacuum data
(This used to be ctdb commit 970b8fc60857ad2f18f45312d355c571fb2f0246)
-rw-r--r-- | ctdb/server/ctdb_vacuum.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ctdb/server/ctdb_vacuum.c b/ctdb/server/ctdb_vacuum.c index acac48eedc..2626dffd8b 100644 --- a/ctdb/server/ctdb_vacuum.c +++ b/ctdb/server/ctdb_vacuum.c @@ -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); |