]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dm-verity: move data hash mismatch handling into its own function
authorEric Biggers <ebiggers@kernel.org>
Tue, 2 Jul 2024 14:38:21 +0000 (16:38 +0200)
committerMikulas Patocka <mpatocka@redhat.com>
Wed, 3 Jul 2024 19:32:15 +0000 (21:32 +0200)
commite41e52e59e51992368092a0555fd7b889662653f
tree3dca97686b0b2a6d23993a1c176564dd64eb159b
parent44d36a2ea426be14d2e5db72e2e7676346c8b802
dm-verity: move data hash mismatch handling into its own function

Move the code that handles mismatches of data block hashes into its own
function so that it doesn't clutter up verity_verify_io().

Reviewed-by: Sami Tolvanen <samitolvanen@google.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
drivers/md/dm-verity-target.c