Commit 9ddf6d3f authored by Ivan Abramov's avatar Ivan Abramov Committed by Mikulas Patocka
Browse files

dm vdo: return error on corrupted metadata in start_restoring_volume functions



The return values of VDO_ASSERT calls that validate metadata are not acted
upon.

Return UDS_CORRUPT_DATA in case of an error.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Fixes: a4eb7e25 ("dm vdo: implement the volume index")
Signed-off-by: default avatarIvan Abramov <i.abramov@mt-integration.ru>
Reviewed-by: default avatarMatthew Sakai <msakai@redhat.com>
Signed-off-by: default avatarMikulas Patocka <mpatocka@redhat.com>
parent e828a187
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment