mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
Remove old metadata backup file after renaming vg.
Author: Takahiro Yasui <tyasui@redhat.com>
This commit is contained in:
parent
afcc447a64
commit
8f782be41d
@ -9,6 +9,7 @@ Version 2.02.46 -
|
||||
Fix unlocks in clvmd-corosync. Broken in 2.02.45.
|
||||
Fix error message when adding metadata directory to internal list fails.
|
||||
Fix size and error message of memory allocation at backup initialization.
|
||||
Remove old metadata backup file after renaming vg.
|
||||
|
||||
Version 2.02.45 - 3rd March 2009
|
||||
================================
|
||||
|
@ -149,6 +149,7 @@ static int vg_rename_path(struct cmd_context *cmd, const char *old_vg_path,
|
||||
/******* FIXME Rename any active LVs! *****/
|
||||
|
||||
backup(vg);
|
||||
backup_remove(cmd, vg_name_old);
|
||||
|
||||
unlock_vg(cmd, vg_name_new);
|
||||
unlock_vg(cmd, vg_name_old);
|
||||
|
Loading…
Reference in New Issue
Block a user