From 2df9a786845af2ce34cb3942dc2b16342e359a2c Mon Sep 17 00:00:00 2001 From: Heinz Mauelshagen Date: Thu, 22 Jun 2017 00:57:16 +0200 Subject: [PATCH] mirror: reformat conditional --- lib/metadata/mirror.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/metadata/mirror.c b/lib/metadata/mirror.c index 9dee0abe6..52e148850 100644 --- a/lib/metadata/mirror.c +++ b/lib/metadata/mirror.c @@ -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); -- 2.43.5