diff options
author | 2023-06-03 19:23:12 -0700 | |
---|---|---|
committer | 2023-06-04 05:56:11 -0700 | |
commit | 13e2408d02dd12a3b46bf8a29b3ae4f6119fc520 (patch) | |
tree | 2928a9e84be2405df60d6d916836b4f78d907f9d /scripts/generate_rust_analyzer.py | |
parent | fsverity: don't use bio_first_page_all() in fsverity_verify_bio() (diff) | |
download | wireguard-linux-13e2408d02dd12a3b46bf8a29b3ae4f6119fc520.tar.xz wireguard-linux-13e2408d02dd12a3b46bf8a29b3ae4f6119fc520.zip |
fsverity: simplify error handling in verify_data_block()
Clean up the error handling in verify_data_block() to (a) eliminate the
'err' variable which has caused some confusion because the function
actually returns a bool, (b) reduce the compiled code size slightly, and
(c) execute one fewer branch in the success case.
Link: https://lore.kernel.org/r/20230604022312.48532-1-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions