io_uring: simplify io_task_match()
authorPavel Begunkov <asml.silence@gmail.com>
Fri, 6 Nov 2020 13:00:21 +0000 (13:00 +0000)
committerJens Axboe <axboe@kernel.dk>
Wed, 9 Dec 2020 19:04:00 +0000 (12:04 -0700)
commit06de5f5973c641c7ae033f133ecfaaf64fe633a6
tree6b67091a5b2b13f50c0d9b26c53884d12270cf39
parent2846c481c9dd1f1fb504b4885bcb815c311df532
io_uring: simplify io_task_match()

If IORING_SETUP_SQPOLL is set all requests belong to the corresponding
SQPOLL task, so skip task checking in that case and always match.

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