mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-04 09:18:36 +03:00
vgmknodes: skipping thin pool is not an error
This commit is contained in:
parent
b2431d105e
commit
e3cc3e55c8
@ -2066,6 +2066,8 @@ int dev_manager_mknodes(const struct logical_volume *lv)
|
|||||||
/* read-only component LV is also made visible */
|
/* read-only component LV is also made visible */
|
||||||
if (_lv_has_mknode(lv) || (dminfo.read_only && lv_is_component(lv)))
|
if (_lv_has_mknode(lv) || (dminfo.read_only && lv_is_component(lv)))
|
||||||
r = _dev_manager_lv_mknodes(lv);
|
r = _dev_manager_lv_mknodes(lv);
|
||||||
|
else
|
||||||
|
r = 1;
|
||||||
} else
|
} else
|
||||||
r = _dev_manager_lv_rmnodes(lv);
|
r = _dev_manager_lv_rmnodes(lv);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user