summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2014-04-22 22:09:35 +0200
committerMichael Adam <obnox@samba.org>2014-06-17 09:33:10 +0200
commit026d79cb009beba6987da6a6dd5fd98609140136 (patch)
treed834475624c8bc4f6db59c99c215b5dc087dad8f
parentb8658b395921a5400c9f794a07748f5ad18991f8 (diff)
downloadsamba-026d79cb009beba6987da6a6dd5fd98609140136.zip
samba-026d79cb009beba6987da6a6dd5fd98609140136.tar.gz
samba-026d79cb009beba6987da6a6dd5fd98609140136.tar.xz
ctdb:vacuum: add missing return to ctdb_vacuum_traverse_db() error path.
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>
-rw-r--r--ctdb/server/ctdb_vacuum.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ctdb/server/ctdb_vacuum.c b/ctdb/server/ctdb_vacuum.c
index d1cb4de..7270331 100644
--- a/ctdb/server/ctdb_vacuum.c
+++ b/ctdb/server/ctdb_vacuum.c
@@ -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) {