mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Drop cached metadata for disappearing VG in vgmerge.
This commit is contained in:
parent
ec40d92889
commit
aa76972385
@ -1,5 +1,6 @@
|
||||
Version 2.02.38 -
|
||||
=================================
|
||||
Drop cached metadata for disappearing VG in vgmerge.
|
||||
In script-processing mode, stop if any command fails.
|
||||
Warn if command exits with non-zero status code without a prior log_error.
|
||||
Check lv_count in vg_validate.
|
||||
|
@ -49,6 +49,8 @@ static int _vgmerge_single(struct cmd_context *cmd, const char *vg_name_to,
|
||||
if (!archive(vg_from) || !archive(vg_to))
|
||||
goto_bad;
|
||||
|
||||
drop_cached_metadata(vg_from);
|
||||
|
||||
/* Merge volume groups */
|
||||
while (!list_empty(&vg_from->pvs)) {
|
||||
struct list *pvh = vg_from->pvs.n;
|
||||
|
Loading…
Reference in New Issue
Block a user