1
0
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:
taka 2009-03-23 22:29:06 +00:00
parent afcc447a64
commit 8f782be41d
2 changed files with 2 additions and 0 deletions

View File

@ -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
================================

View File

@ -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);