summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2014-09-04 13:27:05 -0500
committerDavid Teigland <teigland@redhat.com>2014-10-01 10:48:20 -0500
commita972533b5d21c899e4ca824d07fb2f3a96caa5e8 (patch)
treeec251bff230de28c623f75eef87bb4e934453b7b
parentdc3fef3e6ab85dc09c136ad59b99c4bb3686d629 (diff)
downloadlvm2-a972533b5d21c899e4ca824d07fb2f3a96caa5e8.tar.gz
Revert "toollib: print ignoring vorigin"
This reverts commit 7f4b1e7411d7ff59abe2063db7273fd600e2bf72. will reapply this on top of toollib patch set
-rw-r--r--tools/toollib.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/tools/toollib.c b/tools/toollib.c
index 7be5b5aee..03d83e5bf 100644
--- a/tools/toollib.c
+++ b/tools/toollib.c
@@ -230,13 +230,8 @@ int process_each_lv_in_vg(struct cmd_context *cmd,
lv_is_cow(lvl->lv) && !lv_is_virtual_origin(origin_from_cow(lvl->lv)))
continue;
- if (lv_is_virtual_origin(lvl->lv) && !arg_count(cmd, all_ARG)) {
- if (lvargs_supplied &&
- str_list_match_item(arg_lvnames, lvl->lv->name))
- log_print_unless_silent("Ignoring virtual origin logical volume %s.",
- display_lvname(lvl->lv));
+ if (lv_is_virtual_origin(lvl->lv) && !arg_count(cmd, all_ARG))
continue;
- }
/*
* Only let hidden LVs through it --all was used or the LVs