diff options
author | Dylan Yudaken <dylany@fb.com> | 2022-06-30 15:20:06 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-06-30 19:34:41 +0200 |
commit | 09007af2b627f0f195c6c53c4829b285cc3990ec (patch) | |
tree | 3546a6c5ce9a20d1a6170e406d990b67e330e849 /scripts | |
parent | io_uring: keep sendrecv flags in ioprio (diff) | |
download | linux-09007af2b627f0f195c6c53c4829b285cc3990ec.tar.xz linux-09007af2b627f0f195c6c53c4829b285cc3990ec.zip |
io_uring: fix provided buffer import
io_import_iovec uses the s pointer, but this was changed immediately
after the iovec was re-imported and so it was imported into the wrong
place.
Change the ordering.
Fixes: 2be2eb02e2f5 ("io_uring: ensure reads re-import for selected buffers")
Signed-off-by: Dylan Yudaken <dylany@fb.com>
Link: https://lore.kernel.org/r/20220630132006.2825668-1-dylany@fb.com
[axboe: ensure we don't half-import as well]
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions