diff options
author | Eric Biggers <ebiggers@google.com> | 2023-06-03 19:23:12 -0700 |
---|---|---|
committer | Eric Biggers <ebiggers@google.com> | 2023-06-04 05:56:11 -0700 |
commit | 13e2408d02dd12a3b46bf8a29b3ae4f6119fc520 (patch) | |
tree | 2928a9e84be2405df60d6d916836b4f78d907f9d /security | |
parent | d1f0c5ea04cd0a93309de0246278f0b22394692d (diff) | |
download | lwn-13e2408d02dd12a3b46bf8a29b3ae4f6119fc520.tar.gz lwn-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 'security')
0 files changed, 0 insertions, 0 deletions