io_uring: remove req->needs_fixed_files
authorPavel Begunkov <asml.silence@gmail.com>
Sun, 17 May 2020 11:13:40 +0000 (14:13 +0300)
committerJens Axboe <axboe@kernel.dk>
Sun, 17 May 2020 20:10:07 +0000 (14:10 -0600)
commit0cdaf760f42eb8e8a714c1cc017423e5da6d4936
treea05f021e847958e3ac37c9eddbc9b13d6bd99b57
parent3bfa5bcb26f0b52d7ae8416aa0618fff21aceaaf
io_uring: remove req->needs_fixed_files

A submission is "async" IIF it's done by SQPOLL thread. Instead of
passing @async flag into io_submit_sqes(), deduce it from ctx->flags.

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