1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-10 16:58:47 +03:00

mirror: reformat conditional

This commit is contained in:
Heinz Mauelshagen 2017-06-22 00:57:16 +02:00
parent 64fac77e8a
commit 2df9a78684

View File

@ -1459,7 +1459,8 @@ int remove_mirrors_from_segments(struct logical_volume *lv,
log_error("Segment is not mirrored: %s:%" PRIu32,
lv->name, seg->le);
return 0;
} if ((seg->status & status_mask) != status_mask) {
}
if ((seg->status & status_mask) != status_mask) {
log_error("Segment status does not match: %s:%" PRIu32
" status:0x%" PRIx64 "/0x%" PRIx64, lv->name, seg->le,
seg->status, status_mask);