diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2014-09-21 23:22:23 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2014-09-24 10:54:47 +0200 |
commit | 5b70bdc104991056a9e1c3f97c07b6f0ba3ae998 (patch) | |
tree | 0b86d9ddc0dcf6fae0417aa7b537083cc31c07bb | |
parent | 13c07c685ade35192348a6b60a6c19077976b089 (diff) | |
download | lvm2-5b70bdc104991056a9e1c3f97c07b6f0ba3ae998.tar.gz |
vgchange: add sync point
Before leaving _activate_lvs_in_vg() wait till devices
are active - so we do not print message about active
devices earlier then it really happens for a user.
-rw-r--r-- | tools/vgchange.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/vgchange.c b/tools/vgchange.c index da0a05dca..e81791075 100644 --- a/tools/vgchange.c +++ b/tools/vgchange.c @@ -152,6 +152,7 @@ static int _activate_lvs_in_vg(struct cmd_context *cmd, struct volume_group *vg, } sigint_restore(); + sync_local_dev_names(vg->cmd); /* Wait until devices are available */ if (expected_count) log_verbose("%s %d logical volumes in volume group %s", |