io_uring: honor IOSQE_ASYNC for linked reqs
commit86a761f81ec87a96572214f5db606f60d36aaf08
authorPavel Begunkov <asml.silence@gmail.com>
Wed, 22 Jan 2020 20:09:36 +0000 (22 23:09 +0300)
committerJens Axboe <axboe@kernel.dk>
Wed, 22 Jan 2020 20:57:48 +0000 (22 13:57 -0700)
tree7b5caddd46e223844c0c75b8bacf99c9994ae3fb
parent1118591ab883f46df4ab614cc976bc4c8e04a464
io_uring: honor IOSQE_ASYNC for linked reqs

REQ_F_FORCE_ASYNC is checked only for the head of a link. Fix it.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c