io_uring: fix reversed nonblock flag for link submission

io_queue_link_head() accepts @force_nonblock flag, but io_ring_submit()
passes something opposite.

Fixes: c576666863 ("io_uring: optimize submit_and_wait API")
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
Pavel Begunkov 2019-10-04 17:01:08 +03:00 committed by Jens Axboe
parent a9eb49c964
commit bf7ec93c64
1 changed files with 1 additions and 1 deletions

View File

@ -2761,7 +2761,7 @@ out:
if (link)
io_queue_link_head(ctx, link, &link->submit, shadow_req,
block_for_last);
!block_for_last);
if (statep)
io_submit_state_end(statep);