mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
debug: tracing error path
This commit is contained in:
parent
eadebc3b61
commit
29c709f591
@ -1904,7 +1904,7 @@ static int _form_mirror(struct cmd_context *cmd, struct alloc_handle *ah,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!_create_mimage_lvs(ah, mirrors, stripes, stripe_size, lv, img_lvs, log))
|
if (!_create_mimage_lvs(ah, mirrors, stripes, stripe_size, lv, img_lvs, log))
|
||||||
return 0;
|
return_0;
|
||||||
|
|
||||||
if (!lv_add_mirror_lvs(lv, img_lvs, mirrors,
|
if (!lv_add_mirror_lvs(lv, img_lvs, mirrors,
|
||||||
MIRROR_IMAGE | (lv->status & LOCKED),
|
MIRROR_IMAGE | (lv->status & LOCKED),
|
||||||
|
Loading…
Reference in New Issue
Block a user