Re: [PATCH 10/20] ublk: inline ublk_check_and_get_req() into ublk_user_copy()

From: Ming Lei
Date: Thu Dec 25 2025 - 21:10:46 EST


On Tue, Dec 16, 2025 at 10:34:44PM -0700, Caleb Sander Mateos wrote:
> ublk_check_and_get_req() has a single callsite in ublk_user_copy(). It
> takes a ton of arguments in order to pass local variables from
> ublk_user_copy() to ublk_check_and_get_req() and vice versa. And more
> are about to be added. Combine the functions to reduce the argument
> passing noise.
>
> Signed-off-by: Caleb Sander Mateos <csander@xxxxxxxxxxxxxxx>

Reviewed-by: Ming Lei <ming.lei@xxxxxxxxxx>

Thanks,
Ming