mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
cov: check result of sync_local_dev_names
Although ATM this function always returns 1. (maybe should be void)
This commit is contained in:
parent
03782806eb
commit
352b1b1817
@ -97,7 +97,8 @@ int pvmove_finish(struct cmd_context *cmd, struct volume_group *vg,
|
||||
if (!lv_update_and_reload(lv_mirr))
|
||||
return_0;
|
||||
|
||||
sync_local_dev_names(cmd);
|
||||
if (!sync_local_dev_names(cmd))
|
||||
stack;
|
||||
|
||||
/* Deactivate mirror LV */
|
||||
if (!deactivate_lv(cmd, lv_mirr)) {
|
||||
|
Loading…
Reference in New Issue
Block a user