diff options
author | Akilesh Kailash <[email protected]> | 2021-09-13 09:26:42 +0000 |
---|---|---|
committer | Mike Snitzer <[email protected]> | 2021-10-12 13:54:09 -0400 |
commit | 2c0468e054c0adb660ac055fc396622ec7235df9 (patch) | |
tree | 6d8e727d603fd387f3d273f5fb83892f5b3b1bdf /scripts/gdb/linux/utils.py | |
parent | 64570fbc14f8d7cb3fe3995f20e26bc25ce4b2cc (diff) |
dm verity: skip redundant verity_handle_err() on I/O errors
Without FEC, dm-verity won't call verity_handle_err() when I/O fails,
but with FEC enabled, it currently does even if an I/O error has
occurred.
If there is an I/O error and FEC correction fails, return the error
instead of calling verity_handle_err() again.
Suggested-by: Sami Tolvanen <[email protected]>
Signed-off-by: Akilesh Kailash <[email protected]>
Reviewed-by: Sami Tolvanen <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions