1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-28 02:50:41 +03:00

Remove old metadata backup file after renaming vg.

Author: Takahiro Yasui <tyasui@redhat.com>
This commit is contained in:
Takahiro Yasui 2009-03-23 22:29:06 +00:00
parent 6a8feb3c26
commit 36881b0133
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);