git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e5cf6f
)
ctdb-recoverd/vacuum: move two variables into scope.
author
Michael Adam
<obnox@samba.org>
Tue, 2 Jun 2015 19:27:16 +0000
(21:27 +0200)
committer
Michael Adam
<obnox@samba.org>
Fri, 5 Jun 2015 09:28:23 +0000
(11:28 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/server/ctdb_recoverd.c
patch
|
blob
|
history
diff --git
a/ctdb/server/ctdb_recoverd.c
b/ctdb/server/ctdb_recoverd.c
index 1b4ac50500a296cb2102dcab2a158e01ae8b9e55..e5cb76673907d66cfa13076de9cf2528780dce03 100644
(file)
--- a/
ctdb/server/ctdb_recoverd.c
+++ b/
ctdb/server/ctdb_recoverd.c
@@
-1013,13
+1013,12
@@
static void vacuum_fetch_callback(struct ctdb_client_call_state *state)
*/
static void vacuum_fetch_next(struct vacuum_info *v)
{
- struct ctdb_call call;
- struct ctdb_rec_data *r;
-
while (v->recs->count) {
struct ctdb_client_call_state *state;
TDB_DATA data;
struct ctdb_ltdb_header *hdr;
+ struct ctdb_call call;
+ struct ctdb_rec_data *r;
ZERO_STRUCT(call);
call.call_id = CTDB_NULL_FUNC;