fsverity: Remove inode parameter from fsverity_hash_block()
authorEric Biggers <ebiggers@kernel.org>
Mon, 15 Sep 2025 16:08:18 +0000 (11:08 -0500)
committerEric Biggers <ebiggers@kernel.org>
Wed, 17 Sep 2025 18:09:40 +0000 (13:09 -0500)
commit4bd70b53bd7d554d402b2d8f5972a54e39a2e5ab
tree136f6005892415832a681a2dfce2c97c6c8f5f97
parent6733968be7cb0ce559c755f639c41629fa11761e
fsverity: Remove inode parameter from fsverity_hash_block()

Due to the conversion from crypto_shash to the library API,
fsverity_hash_block() can no longer fail.  Therefore, the inode
parameter, which was used only to print an error message in the case of
a failure, is no longer necessary.  Remove it.

Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20250915160819.140019-6-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
fs/verity/enable.c
fs/verity/fsverity_private.h
fs/verity/hash_algs.c
fs/verity/verify.c