On Sun, Jan 11, 2026 at 12:26 PM Eric Biggers <[email protected]> wrote:
>
> Since each dm_verity_io is never on both the BH and normal workqueues at
> the same time, there's no need for two different work_structs.  Replace
> the 'bh_work' and 'work' fields with just 'work'.
>
> Note: this is correct even though it means 'work' may be reused while
> verity_bh_work() is running.  The workqueue API allows work functions to
> reuse or free their work_struct, and many workqueue users rely on that.
>
> Signed-off-by: Eric Biggers <[email protected]>

Reviewed-by: Sami Tolvanen <[email protected]>

Sami

Reply via email to