ctdb-recoverd/vacuum: move fetch loop back into fetch handler.
authorMichael Adam <obnox@samba.org>
Tue, 2 Jun 2015 20:17:03 +0000 (22:17 +0200)
committerMichael Adam <obnox@samba.org>
Fri, 5 Jun 2015 09:28:23 +0000 (11:28 +0200)
commit92d1486b87d6e06b957ff63f9033eb0d4fd5a164
tree461d7487d5897cd465c0fa9c52a16f481f2f0489
parent4103463ad20b23d5c0a4ca0a296fc8f951e473c2
ctdb-recoverd/vacuum: move fetch loop back into fetch handler.

With the processing of one element factored out,
it is more natural to have the actual loop inside the
handler function. This also makes the talloc/free
bracked around the loop more obvious.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/server/ctdb_recoverd.c