io_uring: refactor io_iopoll_req_issued
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 14 Jun 2021 01:36:14 +0000 (02:36 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 14 Jun 2021 14:23:12 +0000 (08:23 -0600)
commitcb3d8972c78ab0cdb55a30d6db927a3e0442b3f9
tree92379da7dde9a34dc82ebaa402f2ad0bc34f1423
parent382cb030469db3d428ada09e7925f684ba9d61cf
io_uring: refactor io_iopoll_req_issued

A simple refactoring of io_iopoll_req_issued(), move in_async inside so
we don't pass it around and save on double checking it.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/1513bfde4f0c835be25ac69a82737ab0668d7665.1623634181.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c