Revision 09007af2b627f0f195c6c53c4829b285cc3990ec authored by Dylan Yudaken on 30 June 2022, 13:20:06 UTC, committed by Jens Axboe on 30 June 2022, 17:34:41 UTC
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>
1 parent 29c1ac2
Raw File
.gitattributes
*.c   diff=cpp
*.h   diff=cpp
*.dtsi diff=dts
*.dts  diff=dts
back to top