diff --git a/tools/lvconvert.c b/tools/lvconvert.c index fff0188ab..a0e6af796 100644 --- a/tools/lvconvert.c +++ b/tools/lvconvert.c @@ -2203,7 +2203,7 @@ mda_write: /* Rename deactivated metadata LV to have _tmeta suffix */ /* Implicit checks if metadata_lv is visible */ - if (!lp->pool_metadata_lv_name && + if (lp->pool_metadata_lv_name && !lv_rename_update(cmd, metadata_lv, metadata_name, 0)) return_0;