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@purestorage.com
Nice cleanup!
Reviewed-by: Ming Lei ming.lei@redhat.com
Thanks, Ming