diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2011-11-07 10:58:13 +0000 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2011-11-07 10:58:13 +0000 |
commit | 87371d48cc7bae3d659f86ba1c4d08a6a98442bf (patch) | |
tree | 38ccd2a7d869504f384b85d25bc1ee4fb98b28ec /lib/activate | |
parent | 4079a8f29836ace50735202dff3796baeaa53537 (diff) | |
download | lvm2-87371d48cc7bae3d659f86ba1c4d08a6a98442bf.tar.gz lvm2-87371d48cc7bae3d659f86ba1c4d08a6a98442bf.tar.xz lvm2-87371d48cc7bae3d659f86ba1c4d08a6a98442bf.zip |
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 'lib/activate')
-rw-r--r-- | lib/activate/activate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/activate/activate.c b/lib/activate/activate.c index a96e7811..2b44b192 100644 --- a/lib/activate/activate.c +++ b/lib/activate/activate.c @@ -782,7 +782,7 @@ int lvs_in_vg_opened(const struct volume_group *vg) return 0; dm_list_iterate_items(lvl, &vg->lvs) - if (lv_is_visible(lvl->lv) && !lv_is_used_thin_pool(lvl->lv)) + if (lv_is_visible(lvl->lv)) count += (_lv_open_count(vg->cmd, lvl->lv) > 0); log_debug("Counted %d open LVs in VG %s", count, vg->name); |