From f8aee4460abb81af950451a753cafbdc1676e469 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Thu, 3 Nov 2011 14:41:18 +0000 Subject: Thin avoids need of having writable VG for activation --- tools/lvchange.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'tools/lvchange.c') diff --git a/tools/lvchange.c b/tools/lvchange.c index 42933b62..c58a9e38 100644 --- a/tools/lvchange.c +++ b/tools/lvchange.c @@ -142,10 +142,6 @@ static int lvchange_availability(struct cmd_context *cmd, "exclusively", lv->name); if (!activate_lv_excl(cmd, lv)) return_0; - /* Drop any left thin messages after activation */ - if (lv_is_thin_volume(lv) && - !detach_pool_messages(first_seg(lv)->pool_lv)) - return_0; } else if (activate == CHANGE_ALY) { log_verbose("Activating logical volume \"%s\" locally", lv->name); -- cgit