mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
cleanup: avoid using double __ in extracted image name
This commit is contained in:
parent
1bdcb01f63
commit
6db5b91231
@ -1056,10 +1056,10 @@ static int _extract_image_components(struct lv_segment *seg, uint32_t idx,
|
|||||||
seg_metatype(seg, idx) = AREA_UNASSIGNED;
|
seg_metatype(seg, idx) = AREA_UNASSIGNED;
|
||||||
|
|
||||||
/* FIXME Remove duplicated prefix? */
|
/* FIXME Remove duplicated prefix? */
|
||||||
if (!(data_lv->name = _generate_raid_name(data_lv, "_extracted", -1)))
|
if (!(data_lv->name = _generate_raid_name(data_lv, "extracted", -1)))
|
||||||
return_0;
|
return_0;
|
||||||
|
|
||||||
if (!(meta_lv->name = _generate_raid_name(meta_lv, "_extracted", -1)))
|
if (!(meta_lv->name = _generate_raid_name(meta_lv, "extracted", -1)))
|
||||||
return_0;
|
return_0;
|
||||||
|
|
||||||
*extracted_rmeta = meta_lv;
|
*extracted_rmeta = meta_lv;
|
||||||
|
Loading…
Reference in New Issue
Block a user