mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
Reinstate correct permissions when creating mirrors.
This commit is contained in:
parent
7cc4a70487
commit
1d7649f36b
@ -1,5 +1,6 @@
|
|||||||
Version 2.02.86 -
|
Version 2.02.86 -
|
||||||
=================================
|
=================================
|
||||||
|
Reinstate correct permissions when creating mirrors. [2.02.85]
|
||||||
Append 'm' attribute to pv_attr for missing PVs.
|
Append 'm' attribute to pv_attr for missing PVs.
|
||||||
Annotate CLVMD_CMD_SYNC_NAMES in decode_cmd.
|
Annotate CLVMD_CMD_SYNC_NAMES in decode_cmd.
|
||||||
Remove enforcement of udev verification when using non-standard /dev location.
|
Remove enforcement of udev verification when using non-standard /dev location.
|
||||||
|
@ -2157,7 +2157,8 @@ static int _lv_insert_empty_sublvs(struct logical_volume *lv,
|
|||||||
|
|
||||||
for (i = 0; i < devices; i++) {
|
for (i = 0; i < devices; i++) {
|
||||||
sub_lv = lv_create_empty(img_name, NULL,
|
sub_lv = lv_create_empty(img_name, NULL,
|
||||||
MIRROR_IMAGE, lv->alloc, lv->vg);
|
LVM_READ | LVM_WRITE | MIRROR_IMAGE,
|
||||||
|
lv->alloc, lv->vg);
|
||||||
if (!sub_lv)
|
if (!sub_lv)
|
||||||
return_0;
|
return_0;
|
||||||
if (!set_lv_segment_area_lv(mapseg, i, sub_lv, 0, status))
|
if (!set_lv_segment_area_lv(mapseg, i, sub_lv, 0, status))
|
||||||
|
Loading…
Reference in New Issue
Block a user