mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Fix _for_each_pv() for mirror with core log.
This commit is contained in:
parent
929210542f
commit
8d18637eca
@ -1,5 +1,6 @@
|
|||||||
Version 2.02.11 -
|
Version 2.02.11 -
|
||||||
=====================================
|
=====================================
|
||||||
|
Fix _for_each_pv() for mirror with core log.
|
||||||
Add lvm_dump.sh script to create a tarball of debugging info from a system.
|
Add lvm_dump.sh script to create a tarball of debugging info from a system.
|
||||||
Capture error messages in clvmd and pass them back to the user.
|
Capture error messages in clvmd and pass them back to the user.
|
||||||
Remove unused #defines from filter-md.c.
|
Remove unused #defines from filter-md.c.
|
||||||
|
@ -1424,7 +1424,7 @@ static int _for_each_pv(struct cmd_context *cmd, struct logical_volume *lv,
|
|||||||
!fn(cmd, seg_pvseg(seg, s), data))
|
!fn(cmd, seg_pvseg(seg, s), data))
|
||||||
return_0;
|
return_0;
|
||||||
|
|
||||||
if (seg_is_mirrored(seg) &&
|
if (seg_is_mirrored(seg) && seg->log_lv &&
|
||||||
!_for_each_pv(cmd, seg->log_lv, 0, MIRROR_LOG_SIZE,
|
!_for_each_pv(cmd, seg->log_lv, 0, MIRROR_LOG_SIZE,
|
||||||
NULL, fn, data))
|
NULL, fn, data))
|
||||||
return_0;
|
return_0;
|
||||||
|
Loading…
Reference in New Issue
Block a user