diff options
author | Jens Axboe <axboe@kernel.dk> | 2023-03-29 16:52:15 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-03-30 16:12:29 +0200 |
commit | de4f5fed3f231a8ff4790bf52975f847b95b85ea (patch) | |
tree | 0f546e08dadb0145ca9347ce3fc2b8936d48c5f6 /sound/x86 | |
parent | block: ensure bio_alloc_map_data() deals with ITER_UBUF correctly (diff) | |
download | linux-de4f5fed3f231a8ff4790bf52975f847b95b85ea.tar.xz linux-de4f5fed3f231a8ff4790bf52975f847b95b85ea.zip |
iov_iter: add iter_iovec() helper
This returns a pointer to the current iovec entry in the iterator. Only
useful with ITER_IOVEC right now, but it prepares us to treat ITER_UBUF
and ITER_IOVEC identically for the first segment.
Rename struct iov_iter->iov to iov_iter->__iov to find any potentially
troublesome spots, and also to prevent anyone from adding new code that
accesses iter->iov directly.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'sound/x86')
0 files changed, 0 insertions, 0 deletions