mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Don't ignore persistent minor numbers when activating.
This commit is contained in:
parent
874255ff5f
commit
fe686a5180
@ -1,5 +1,6 @@
|
|||||||
Version 2.02.07 -
|
Version 2.02.07 -
|
||||||
=================================
|
=================================
|
||||||
|
Don't ignore persistent minor numbers when activating.
|
||||||
Use RTLD_GLOBAL when loading shared libraries.
|
Use RTLD_GLOBAL when loading shared libraries.
|
||||||
Add some forgotten memlock checks to _vg_read to protect against full scans.
|
Add some forgotten memlock checks to _vg_read to protect against full scans.
|
||||||
Add mutex to dmeventd_mirror to avoid concurrent execution.
|
Add mutex to dmeventd_mirror to avoid concurrent execution.
|
||||||
|
@ -866,8 +866,8 @@ static int _add_new_lv_to_dtree(struct dev_manager *dm, struct dm_tree *dtree,
|
|||||||
* Major/minor settings only apply to the visible layer.
|
* Major/minor settings only apply to the visible layer.
|
||||||
*/
|
*/
|
||||||
if (!(dnode = dm_tree_add_new_dev(dtree, name, dlid,
|
if (!(dnode = dm_tree_add_new_dev(dtree, name, dlid,
|
||||||
layer ? (uint32_t) lv->major : UINT32_C(0),
|
layer ? UINT32_C(0) : (uint32_t) lv->major,
|
||||||
layer ? (uint32_t) lv->minor : UINT32_C(0),
|
layer ? UINT32_C(0) : (uint32_t) lv->minor,
|
||||||
_read_only_lv(lv),
|
_read_only_lv(lv),
|
||||||
(lv->vg->status & PRECOMMITTED) ? 1 : 0,
|
(lv->vg->status & PRECOMMITTED) ? 1 : 0,
|
||||||
lvlayer)))
|
lvlayer)))
|
||||||
|
Loading…
Reference in New Issue
Block a user