1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-02 01:18:26 +03:00

raid: avoid _ at end of name of extracted metadata LV

Do not generate @PREFIX@vg/LV1_rmeta_1_extracted_.
This commit is contained in:
Zdenek Kabelac 2016-12-10 14:51:00 +01:00
parent 55ca8043d4
commit 67f9e6b175
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.169 -
=====================================
Avoid adding extra '_' at end of raid extracted images or metadata.
Optimize another _rmeta clearing code.
Fix deactivation of raid orphan devices for clustered VG.
Fix lvconvert raid1 to mirror table reload order.

View File

@ -1785,7 +1785,7 @@ static int _extract_image_component_error_seg(struct lv_segment *seg,
if (!remove_seg_from_segs_using_this_lv(lv, seg))
return_0;
if (!(lv->name = _generate_raid_name(lv, "extracted_", -1)))
if (!(lv->name = _generate_raid_name(lv, "extracted", -1)))
return_0;
if (set_error_seg && !replace_lv_with_error_segment(lv))