1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-24 14:50:34 +03:00

fix mirror log parm count

This commit is contained in:
Alasdair Kergon 2006-02-08 14:14:13 +00:00
parent 846befa7e0
commit 382e808b8d

View File

@ -1240,7 +1240,7 @@ static int _emit_segment_line(struct dm_task *dmt, struct load_segment *seg, uin
break;
case SEG_MIRRORED:
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->uuid)