diff options
| author | Caleb Sander Mateos <csander@purestorage.com> | 2026-01-08 02:19:34 -0700 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-01-12 09:15:05 -0700 |
| commit | 5bfbbc9938f5dee7f252ef05f47b9a26f05f281a (patch) | |
| tree | f615ea63be22cc48bd2b410df00c4a5dc6630553 /usr | |
| parent | fc652d415cd8b45e9a534d1c019da175cca4c95a (diff) | |
ublk: split out ublk_user_copy() helper
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>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions
