ctdb:vacuum: add missing return to ctdb_vacuum_traverse_db() error path.
authorMichael Adam <obnox@samba.org>
Tue, 22 Apr 2014 20:09:35 +0000 (22:09 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 17 Jun 2014 07:33:10 +0000 (09:33 +0200)
This got lost in commit 19948702992c94553e1a611540ad398de9f9d8b9
("ctdb-vacuum: make ctdb_vacuum_traverse_db() void.")

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

index d1cb4de27e400d534938e7d57eeea09ce78eab74..72703318c27af162f172834fe998752944deb507 100644 (file)
@@ -744,6 +744,7 @@ static void ctdb_vacuum_traverse_db(struct ctdb_db_context *ctdb_db,
        if (ret == -1 || vdata->traverse_error) {
                DEBUG(DEBUG_ERR, (__location__ " Traverse error in vacuuming "
                                  "'%s'\n", ctdb_db->db_name));
+               return;
        }
 
        if (vdata->count.db_traverse.total > 0) {