mirror of
git://sourceware.org/git/lvm2.git
synced 2026-01-23 20:32:57 +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:
@@ -532,7 +532,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 &&
|
||||
|
||||
Reference in New Issue
Block a user