Re: [PATCH 3/7] dm-verity: remove unnecessary condition for verity_fec_finish_io()

From: Sami Tolvanen
Date: Wed Dec 17 2025 - 13:08:42 EST


On Tue, Dec 16, 2025 at 03:06:10PM -0800, Eric Biggers wrote:
> Make verity_finish_io() call verity_fec_finish_io() unconditionally,
> instead of skipping it when 'in_bh' is true.
>
> Although FEC can't have been done when 'in_bh' is true,
> verity_fec_finish_io() is a no-op when FEC wasn't done. An earlier
> change also made verity_fec_finish_io() very lightweight when FEC wasn't
> done. So it should just be called unconditionally.
>
> Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx>

Reviewed-by: Sami Tolvanen <samitolvanen@xxxxxxxxxx>

Sami