Author: Takahiro Yasui <tyasui@redhat.com>
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.
+ Restore log_suppress state when metadata backup file is up-to-date.
Version 2.02.45 - 3rd March 2009
================================
/* Up-to-date backup exists? */
if ((vg_backup = backup_read_vg(vg->cmd, vg->name, path)) &&
(vg->seqno == vg_backup->seqno) &&
- (id_equal(&vg->id, &vg_backup->id)))
+ (id_equal(&vg->id, &vg_backup->id))) {
+ log_suppress(0);
return;
+ }
log_suppress(0);
if (vg_backup)