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:
parent
55ca8043d4
commit
67f9e6b175
@ -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.
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user