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

Ming Lei
2025-12-26T02:10:33Z

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@purestorage.com>

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

Thanks,
Ming