Re: [PATCH] block: drop direction param from bio_integrity_copy_user()

From: Keith Busch
Date: Tue Jun 03 2025 - 14:45:36 EST


On Tue, Jun 03, 2025 at 12:31:32PM -0600, Caleb Sander Mateos wrote:
> direction is determined from bio, which is already passed in. Compute
> op_is_write(bio_op(bio)) directly instead of converting it to an iter
> direction and back to a bool.

Looks good.

Reviewed-by: Keith Busch <kbusch@xxxxxxxxxx>