Re: [PATCH 09/20] ublk: split out ublk_user_copy() helper
From: Ming Lei
Date: Mon Dec 22 2025 - 09:58:43 EST
On Tue, Dec 16, 2025 at 10:34:43PM -0700, Caleb Sander Mateos wrote:
> ublk_ch_read_iter() and ublk_ch_write_iter() are nearly identical except
> for the iter direction. Split out a helper function ublk_user_copy() to
> reduce the code duplication as these functions are about to get larger.
>
> Signed-off-by: Caleb Sander Mateos <csander@xxxxxxxxxxxxxxx>
Nice cleanup!
Reviewed-by: Ming Lei <ming.lei@xxxxxxxxxx>
Thanks,
Ming