io_uring: use inflight_entry list for iopoll'ing
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 13 Jul 2020 20:37:10 +0000 (23:37 +0300)
committerJens Axboe <axboe@kernel.dk>
Fri, 24 Jul 2020 18:55:44 +0000 (12:55 -0600)
commitd21ffe7eca82d47b489760899912f81e30456e2e
tree82aaf33e1130c47011152f2d855b738b942c47c4
parent540e32a0855e700affa29b1112bf2dbb1fa7702a
io_uring: use inflight_entry list for iopoll'ing

req->inflight_entry is used to track requests that grabbed files_struct.
Let's share it with iopoll list, because the only iopoll'ed ops are
reads and writes, which don't need a file table.

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