diff options
author | JeongHyeon Lee <jhs2.lee@samsung.com> | 2022-06-15 02:51:51 +0200 |
---|---|---|
committer | Mike Snitzer <snitzer@kernel.org> | 2022-07-07 17:49:36 +0200 |
commit | 20e6fc85621c32bbe53d110bf0ecabdaa15acd2e (patch) | |
tree | 88f89bdf3aa025de8a7352755888c1ca577bff17 /drivers/md/dm-verity-target.c | |
parent | dm table: rename dm_target variable in dm_table_add_target() (diff) | |
download | linux-20e6fc85621c32bbe53d110bf0ecabdaa15acd2e.tar.xz linux-20e6fc85621c32bbe53d110bf0ecabdaa15acd2e.zip |
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>
Diffstat (limited to 'drivers/md/dm-verity-target.c')
-rw-r--r-- | drivers/md/dm-verity-target.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/md/dm-verity-target.c b/drivers/md/dm-verity-target.c index d6dbd47492a8..75b66dd67633 100644 --- a/drivers/md/dm-verity-target.c +++ b/drivers/md/dm-verity-target.c @@ -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 |