mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
fix mirror log parm count
This commit is contained in:
parent
b5f9086099
commit
2d2b610fb9
@ -1240,7 +1240,7 @@ static int _emit_segment_line(struct dm_task *dmt, struct load_segment *seg, uin
|
|||||||
break;
|
break;
|
||||||
case SEG_MIRRORED:
|
case SEG_MIRRORED:
|
||||||
log_parm_count = 1; /* Region size */
|
log_parm_count = 1; /* Region size */
|
||||||
log_parm_count = hweight32(seg->flags); /* [no]sync, block_on_error etc. */
|
log_parm_count += hweight32(seg->flags); /* [no]sync, block_on_error etc. */
|
||||||
|
|
||||||
if (seg->clustered) {
|
if (seg->clustered) {
|
||||||
if (seg->uuid)
|
if (seg->uuid)
|
||||||
|
Loading…
Reference in New Issue
Block a user