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:
734880e
)
vacuum: move variable into scope of use in ctdb_process_delete_list()
author
Michael Adam
<obnox@samba.org>
Mon, 17 Dec 2012 16:26:22 +0000
(17:26 +0100)
committer
Michael Adam
<obnox@samba.org>
Fri, 26 Apr 2013 14:17:41 +0000
(16:17 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-By: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit
3710dd0f313f551f1b302b4961e0203243e3d661
)
server/ctdb_vacuum.c
patch
|
blob
|
history
diff --git
a/server/ctdb_vacuum.c
b/server/ctdb_vacuum.c
index 9611a1514ca1a6fc8465aeb7004e380a8345576a..bf82d58c8d2e2d8d7594c726088fd12c2bc00df8 100644
(file)
--- a/
server/ctdb_vacuum.c
+++ b/
server/ctdb_vacuum.c
@@
-704,7
+704,7
@@
static int ctdb_process_delete_list(struct ctdb_db_context *ctdb_db,
int ret, i;
struct ctdb_context *ctdb = ctdb_db->ctdb;
struct delete_records_list *recs;
- TDB_DATA indata
, outdata
;
+ TDB_DATA indata;
struct ctdb_node_map *nodemap;
uint32_t *active_nodes;
int num_active_nodes;
@@
-763,6
+763,7
@@
static int ctdb_process_delete_list(struct ctdb_db_context *ctdb_db,
struct ctdb_marshall_buffer *records;
struct ctdb_rec_data *rec;
int32_t res;
+ TDB_DATA outdata;
ret = ctdb_control(ctdb, active_nodes[i], 0,
CTDB_CONTROL_TRY_DELETE_RECORDS, 0,