git.samba.org
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25ec7c1
)
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>
Thu, 12 Jan 2012 07:50:40 +0000
(08:50 +0100)
(cherry picked from commit
772e08c29ef70a4cc73f7887939e5071a90a98cb
)
server/ctdb_vacuum.c
patch
|
blob
|
history
diff --git
a/server/ctdb_vacuum.c
b/server/ctdb_vacuum.c
index ecf7e8515f2b18fc7ebd4b1cb3dfb6b73acda9fc..4ce65b211d322552c1c3d51c99f73367340b4035 100644
(file)
--- a/
server/ctdb_vacuum.c
+++ b/
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) {