diff options
| author | 2025-09-09 23:22:38 +0300 | |
|---|---|---|
| committer | 2025-09-23 10:49:45 +0200 | |
| commit | 9ddf6d3fcbe0b96e318da364cf7e6b59cd4cb5a2 (patch) | |
| tree | ffbe03bcbed8340a628fab30faab96e9fd55c0d6 /scripts/bpf_doc.py | |
| parent | dm vdo: Update code to use mem_is_zero (diff) | |
| download | linux-rng-9ddf6d3fcbe0b96e318da364cf7e6b59cd4cb5a2.tar.xz linux-rng-9ddf6d3fcbe0b96e318da364cf7e6b59cd4cb5a2.zip | |
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: a4eb7e255517 ("dm vdo: implement the volume index")
Signed-off-by: Ivan Abramov <i.abramov@mt-integration.ru>
Reviewed-by: Matthew Sakai <msakai@redhat.com>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions
