From eca971ca6cfcea17dba77098d03c0d49a0e2c7db Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Sat, 30 May 2009 01:54:29 +0000 Subject: [PATCH] Remove verbose 'visited' messages. --- WHATS_NEW | 1 + lib/metadata/metadata.c | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/WHATS_NEW b/WHATS_NEW index fd59e4aa2..c0840caeb 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.48 - =============================== + Remove verbose 'visited' messages. Handle multi-extent mirror log allocation when smallest PV has only 1 extent. Add LSB standard headers and functions (incl. reload) to clvmd initscript. When creating new LV, double-check that name is not already in use. diff --git a/lib/metadata/metadata.c b/lib/metadata/metadata.c index 6e4091a2a..2b93bfbff 100644 --- a/lib/metadata/metadata.c +++ b/lib/metadata/metadata.c @@ -1330,10 +1330,9 @@ static int _lv_postorder_visit(struct logical_volume *lv, baton.fn = fn; baton.data = data; r = _lv_each_dependency(lv, _lv_postorder_level, &baton); - if (r) { + if (r) r = fn(lv, data); - log_verbose("visited %s", lv->name); - } + return r; }