io_uring: fix reversed nonblock flag for link submission
authorPavel Begunkov <asml.silence@gmail.com>
Fri, 4 Oct 2019 14:01:08 +0000 (17:01 +0300)
committerJens Axboe <axboe@kernel.dk>
Fri, 4 Oct 2019 14:31:15 +0000 (08:31 -0600)
commitbf7ec93c644cb0064ba7d2fc40d4841c5ba382ab
tree40f46694b70fe10f19711c052d25ea686ec682e7
parenta9eb49c964884654dd6394cb6abe7ceb021c9c96
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: c576666863b78 ("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>
fs/io_uring.c