vacuum: reorder some of ctdb_process_delete_list() more intuitively
authorMichael Adam <obnox@samba.org>
Sat, 29 Dec 2012 17:32:39 +0000 (18:32 +0100)
committerMichael Adam <obnox@samba.org>
Fri, 26 Apr 2013 14:18:17 +0000 (16:18 +0200)
commit0adfa7454fcd1bd17108ef4ec43454f5466a2f19
tree2f3d198e6a52014a900be59f7b6e92b3449a977f
parent640135d72e08480a433b34d901a2af4c300b7709
vacuum: reorder some of ctdb_process_delete_list() more intuitively

Now that the nodemap and its talloc children don't hang off of the
delete_records_list talloc context, we can build the nodemap
and earlier, and move the construction of the delete_records_list
to where it is more obvious what it is used for.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-By: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit e3740899c1af6962f93c85ad7d1cb71bddce45c6)
server/ctdb_vacuum.c