1
0
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:
Zdenek Kabelac 2024-11-02 21:57:00 +01:00
parent 03782806eb
commit 352b1b1817

View File

@ -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)) {