1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-09 12:58:41 +03:00

Replicator: VG with cmd_missing_vgs does not generate output

Do not print message if missing VG is found.
This commit is contained in:
Zdenek Kabelac 2010-05-24 08:59:29 +00:00
parent 3ed801fb95
commit df7edc00b8
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.67 -
===============================
Avoid print activation message if there is a missing VG (Replicator).
Fixed scripts/relpath.awk to work in mawk
Add _add_partial_replicator_to_dtree().
Activation code read and releases also remote VGs (Replicator).

View File

@ -224,8 +224,10 @@ static int _vgchange_available(struct cmd_context *cmd, struct volume_group *vg)
ret = _activate_lvs_in_vg(cmd, vg, available);
log_print("%d logical volume(s) in volume group \"%s\" now active",
lvs_in_vg_activated(vg), vg->name);
/* Print message only if there was not found a missing VG */
if (!vg->cmd_missing_vgs)
log_print("%d logical volume(s) in volume group \"%s\" now active",
lvs_in_vg_activated(vg), vg->name);
return ret;
}