dm verity: fix checkpatch close brace error

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

Signed-off-by: JeongHyeon Lee <jhs2.lee@samsung.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
This commit is contained in:
JeongHyeon Lee 2022-06-15 09:51:51 +09:00 committed by Mike Snitzer
parent 899ab445a4
commit 20e6fc8562
1 changed files with 3 additions and 4 deletions

View File

@ -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