mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-02 01:18:26 +03:00
Drop cached metadata when renaming a VG.
This commit is contained in:
parent
f0dfe9dcda
commit
179b9822b4
@ -9,6 +9,7 @@ Version 2.02.38 -
|
||||
|
||||
Version 2.02.37 -
|
||||
=================================
|
||||
Drop cached metadata when renaming a VG.
|
||||
Allow for vginfo changing during _vg_read.
|
||||
Decode numbers in clvmd debugging output.
|
||||
Add missing deactivation after activation failure in lvcreate -Zy.
|
||||
|
@ -133,6 +133,8 @@ static int vg_rename_path(struct cmd_context *cmd, const char *old_vg_path,
|
||||
}
|
||||
}
|
||||
|
||||
drop_cached_metadata(vg_old);
|
||||
|
||||
/* store it on disks */
|
||||
log_verbose("Writing out updated volume group");
|
||||
if (!vg_write(vg_old) || !vg_commit(vg_old)) {
|
||||
|
Loading…
Reference in New Issue
Block a user