1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Use return_0 to get bactrace

This commit is contained in:
Zdenek Kabelac 2011-02-18 15:05:40 +00:00
parent 0a62e0145a
commit 45afc15547

View File

@ -148,7 +148,7 @@ static int _check_lv_status(struct cmd_context *cmd,
/* Finished? Or progress to next segment? */
if (progress == PROGRESS_FINISHED_ALL) {
if (!parms->poll_fns->finish_copy(cmd, vg, lv, lvs_changed))
return 0;
return_0;
} else {
if (parms->poll_fns->update_metadata &&
!parms->poll_fns->update_metadata(cmd, vg, lv, lvs_changed, 0)) {
@ -211,7 +211,7 @@ static int _wait_for_single_lv(struct cmd_context *cmd, const char *name, const
if (!_check_lv_status(cmd, vg, lv, name, parms, &finished)) {
unlock_and_free_vg(cmd, vg, vg->name);
return 0;
return_0;
}
unlock_and_free_vg(cmd, vg, vg->name);