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

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
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment