1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-30 17:18:21 +03:00

vgmknodes: skipping thin pool is not an error

This commit is contained in:
Paul van Genderen-Tjie A Loi 2023-07-24 12:03:06 -05:00 committed by David Teigland
parent b2431d105e
commit e3cc3e55c8

View File

@ -2066,6 +2066,8 @@ int dev_manager_mknodes(const struct logical_volume *lv)
/* read-only component LV is also made visible */
if (_lv_has_mknode(lv) || (dminfo.read_only && lv_is_component(lv)))
r = _dev_manager_lv_mknodes(lv);
else
r = 1;
} else
r = _dev_manager_lv_rmnodes(lv);