1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-10 05:18:36 +03:00

thin: pass through whole code

Instead of early 'return 0' let the whole code finish
in case of an error with syncing.
This commit is contained in:
Zdenek Kabelac 2020-09-25 14:34:49 +02:00
parent 3a2ada80cb
commit 8a0f9537f1

View File

@ -534,7 +534,7 @@ int update_pool_lv(struct logical_volume *lv, int activate)
if (!sync_local_dev_names(lv->vg->cmd)) {
log_error("Failed to sync local devices LV %s.",
display_lvname(lv));
return 0;
ret = 0;
}
if (activate &&