summaryrefslogtreecommitdiff
path: root/tools/vgchange.c
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2011-11-07 10:58:13 +0000
committerZdenek Kabelac <zkabelac@redhat.com>2011-11-07 10:58:13 +0000
commit87371d48cc7bae3d659f86ba1c4d08a6a98442bf (patch)
tree38ccd2a7d869504f384b85d25bc1ee4fb98b28ec /tools/vgchange.c
parent4079a8f29836ace50735202dff3796baeaa53537 (diff)
downloadlvm2-87371d48cc7bae3d659f86ba1c4d08a6a98442bf.tar.gz
Thin revert code for exclusive pool activation
There are no limits on thin-pool activation now. Revert code that is no longer needed.
Diffstat (limited to 'tools/vgchange.c')
-rw-r--r--tools/vgchange.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/vgchange.c b/tools/vgchange.c
index 39d58f146..6332117e1 100644
--- a/tools/vgchange.c
+++ b/tools/vgchange.c
@@ -100,10 +100,6 @@ static int _activate_lvs_in_vg(struct cmd_context *cmd,
if (!lv_is_visible(lv))
continue;
- /* Never manipulate with thin pools in use */
- if (lv_is_used_thin_pool(lv))
- continue;
-
/* If LV is sparse, activate origin instead */
if (lv_is_cow(lv) && lv_is_virtual_origin(origin_from_cow(lv)))
lv = origin_from_cow(lv);