iov: add import_ubuf()
authorJens Axboe <axboe@kernel.dk>
Thu, 5 Jan 2023 19:07:30 +0000 (11:07 -0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 9 Jan 2023 03:59:17 +0000 (20:59 -0700)
commit2ad9bd8332ac1bc072cc7d785e7cb09d6ad36f4c
treeed34d7b63923379b890e9b6ff9d185b95dad1d7c
parentb7bfaa761d760e72a969d116517eaa12e404c262
iov: add import_ubuf()

Like import_single_range(), but for ITER_UBUF.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
include/linux/uio.h
lib/iov_iter.c