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 /tools/lvresize.c | |
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 'tools/lvresize.c')
-rw-r--r-- | tools/lvresize.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/lvresize.c b/tools/lvresize.c index aebed445..aafef6f6 100644 --- a/tools/lvresize.c +++ b/tools/lvresize.c @@ -755,10 +755,6 @@ static int _lvresize(struct cmd_context *cmd, struct volume_group *vg, /* If snapshot, must suspend all associated devices */ if (lv_is_cow(lv)) lock_lv = origin_from_cow(lv); - else if (lv_is_used_thin_pool(lv)) - // FIXME: what to pick here - maybe an active thin? - // but it still seems to be racy in cluster - lock_lv = lv; else lock_lv = lv; |