git.samba.org
/
garming
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d29b2bd
)
vacuum: initialize (to zero) the vacuum fetch list in ctdb_vacuum_init_vacuum_data()
author
Michael Adam
<obnox@samba.org>
Thu, 22 Dec 2011 23:14:18 +0000
(
00:14
+0100)
committer
Michael Adam
<obnox@samba.org>
Fri, 23 Dec 2011 16:39:12 +0000
(17:39 +0100)
(This used to be ctdb commit
772e08c29ef70a4cc73f7887939e5071a90a98cb
)
ctdb/server/ctdb_vacuum.c
patch
|
blob
|
history
diff --git
a/ctdb/server/ctdb_vacuum.c
b/ctdb/server/ctdb_vacuum.c
index e0c601f142338d7df05f456835ba88b5e34125f0..23062faed31948bfa81858a1850b5ae7f4761825 100644
(file)
--- a/
ctdb/server/ctdb_vacuum.c
+++ b/
ctdb/server/ctdb_vacuum.c
@@
-858,7
+858,7
@@
static int ctdb_vacuum_init_vacuum_data(struct ctdb_db_context *ctdb_db,
vdata->delete_deleted = 0;
/* the list needs to be of length num_nodes */
- vdata->vacuum_fetch_list = talloc_array(vdata,
+ vdata->vacuum_fetch_list = talloc_
zero_
array(vdata,
struct ctdb_marshall_buffer *,
ctdb->num_nodes);
if (vdata->vacuum_fetch_list == NULL) {