io_uring: fix lost cqe->flags
authorPavel Begunkov <asml.silence@gmail.com>
Fri, 3 Jul 2020 19:15:08 +0000 (22:15 +0300)
committerJens Axboe <axboe@kernel.dk>
Sun, 5 Jul 2020 21:07:50 +0000 (15:07 -0600)
commit8b3656af2a37dc538d21e144a5a94bacae05e9f1
treefab0c184b95db11d4fc0ae9d69844efeca62e947
parent652532ad459524d32c6bf1522e0b88d83b084d1a
io_uring: fix lost cqe->flags

Don't forget to fill cqe->flags properly in io_submit_flush_completions()

Fixes: a1d7c393c4711 ("io_uring: enable READ/WRITE to use deferred completions")
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c