mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Only attempt to guarantee 1 mda ignored if there's at least one mda in the vg.
This commit is contained in:
parent
4e11851795
commit
67b91d0848
@ -1111,7 +1111,7 @@ skip_adjust:
|
||||
* below check and retain correctness.
|
||||
*/
|
||||
if (!dm_list_size(&vg->fid->metadata_areas_in_use) ||
|
||||
!vg_mda_used_count(vg))
|
||||
!vg_mda_used_count(vg) && vg_mda_count(vg))
|
||||
ret = _vg_unignore_mdas(vg, 1);
|
||||
|
||||
if (!ret)
|
||||
|
Loading…
Reference in New Issue
Block a user