mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
Restore log_suppress state when metadata backup file is up-to-date.
Author: Takahiro Yasui <tyasui@redhat.com>
This commit is contained in:
parent
36881b0133
commit
fbd97a3425
@ -10,6 +10,7 @@ Version 2.02.46 -
|
|||||||
Fix error message when adding metadata directory to internal list fails.
|
Fix error message when adding metadata directory to internal list fails.
|
||||||
Fix size and error message of memory allocation at backup initialization.
|
Fix size and error message of memory allocation at backup initialization.
|
||||||
Remove old metadata backup file after renaming vg.
|
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
|
Version 2.02.45 - 3rd March 2009
|
||||||
================================
|
================================
|
||||||
|
@ -405,8 +405,10 @@ void check_current_backup(struct volume_group *vg)
|
|||||||
/* Up-to-date backup exists? */
|
/* Up-to-date backup exists? */
|
||||||
if ((vg_backup = backup_read_vg(vg->cmd, vg->name, path)) &&
|
if ((vg_backup = backup_read_vg(vg->cmd, vg->name, path)) &&
|
||||||
(vg->seqno == vg_backup->seqno) &&
|
(vg->seqno == vg_backup->seqno) &&
|
||||||
(id_equal(&vg->id, &vg_backup->id)))
|
(id_equal(&vg->id, &vg_backup->id))) {
|
||||||
|
log_suppress(0);
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
log_suppress(0);
|
log_suppress(0);
|
||||||
|
|
||||||
if (vg_backup)
|
if (vg_backup)
|
||||||
|
Loading…
Reference in New Issue
Block a user