mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
liblvm: Fix segfault in lvm_pv_remove.
Since 4fa5add6b1
("pvcreate: Wipe cached
bootloaderarea when wiping label.") label_remove is responsible
for the lvmcache_del. (toollib and liblvm need fixing to share
the code.)
This commit is contained in:
parent
7e3be7d1ba
commit
248144d066
@ -1,5 +1,6 @@
|
||||
Version 2.02.176 -
|
||||
===================================
|
||||
liblvm: Fix segfault in lvm_pv_remove. (2.02.173)
|
||||
Do not allow storing VG metadata with LV without any segment.
|
||||
Fix printed message when thin snapshot was already merged.
|
||||
Remove created spare LV when creation of thin-pool failed.
|
||||
|
@ -602,9 +602,6 @@ static int _pvremove_single(struct cmd_context *cmd, const char *pv_name,
|
||||
goto out;
|
||||
}
|
||||
|
||||
if (info)
|
||||
lvmcache_del(info);
|
||||
|
||||
if (!lvmetad_pv_gone_by_dev(dev))
|
||||
goto_out;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user