diff options
author | Eric Biggers <ebiggers@google.com> | 2023-06-04 05:23:12 +0300 |
---|---|---|
committer | Eric Biggers <ebiggers@google.com> | 2023-06-04 15:56:11 +0300 |
commit | 13e2408d02dd12a3b46bf8a29b3ae4f6119fc520 (patch) | |
tree | 2928a9e84be2405df60d6d916836b4f78d907f9d /security/integrity/ima/ima_api.c | |
parent | d1f0c5ea04cd0a93309de0246278f0b22394692d (diff) | |
download | linux-13e2408d02dd12a3b46bf8a29b3ae4f6119fc520.tar.xz |
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/integrity/ima/ima_api.c')
0 files changed, 0 insertions, 0 deletions