Commit 20e6fc85 authored by JeongHyeon Lee's avatar JeongHyeon Lee Committed by Mike Snitzer
Browse files

dm verity: fix checkpatch close brace error



Resolves: ERROR: else should follow close brace '}'

Signed-off-by: default avatarJeongHyeon Lee <jhs2.lee@samsung.com>
Signed-off-by: default avatarMike Snitzer <snitzer@kernel.org>
parent 899ab445
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -527,11 +527,10 @@ static int verity_verify_io(struct dm_verity_io *io)
			if (v->validated_blocks)
				set_bit(cur_block, v->validated_blocks);
			continue;
		}
		else if (verity_fec_decode(v, io, DM_VERITY_BLOCK_TYPE_DATA,
					   cur_block, NULL, &start) == 0)
		} else if (verity_fec_decode(v, io, DM_VERITY_BLOCK_TYPE_DATA,
					   cur_block, NULL, &start) == 0) {
			continue;
		else {
		} else {
			if (bio->bi_status) {
				/*
				 * Error correction failed; Just return error