Gitweb:
http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=dd3a2f13f16802...
Commit: dd3a2f13f1680228fe9ddd5fa1b1c5900cf8dc96
Parent: 73971e1e7b1164f4f7c677afc17aabbd09e11252
Author: Zdenek Kabelac <zkabelac(a)redhat.com>
AuthorDate: Wed Oct 16 12:47:30 2013 +0200
Committer: Zdenek Kabelac <zkabelac(a)redhat.com>
CommitterDate: Wed Oct 16 12:47:30 2013 +0200
thin: missed check for thin_pool in last update
---
tools/lvconvert.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/lvconvert.c b/tools/lvconvert.c
index eaac565..a6c1187 100644
--- a/tools/lvconvert.c
+++ b/tools/lvconvert.c
@@ -2327,7 +2327,7 @@ static int _lvconvert_thinpool(struct cmd_context *cmd,
return 0;
}
- if (pool_is_active(pool_lv)) {
+ if (lv_is_thin_pool(pool_lv) && pool_is_active(pool_lv)) {
/* If any thin volume is also active - abort here */
log_error("Cannot convert pool %s/%s with active thin volumes.",
pool_lv->vg->name, pool_lv->name);