From dd3a2f13f1680228fe9ddd5fa1b1c5900cf8dc96 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Wed, 16 Oct 2013 12:47:30 +0200 Subject: [PATCH] thin: missed check for thin_pool in last update --- tools/lvconvert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/lvconvert.c b/tools/lvconvert.c index eaac565bd..a6c1187a7 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); -- 2.43.5