]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
io_uring: use separate list entry for iopoll requests
authorJens Axboe <axboe@kernel.dk>
Mon, 27 Jun 2022 00:21:03 +0000 (18:21 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Jun 2022 07:41:01 +0000 (09:41 +0200)
commitfb2fbb3c10d779c0163c9c2c7ca1aeb75ef3f7ca
tree7ead6c1acc914e950e343ea9f62c99a870bf5aee
parent6a7c3bcc3c2e2c2e7a42d6601306095060ea938a
io_uring: use separate list entry for iopoll requests

A previous commit ended up enabling file tracking for iopoll requests,
which conflicts with both of them using the same list entry for tracking.
Add a separate list entry just for iopoll requests, avoid this issue.

No upstream commit exists for this issue.

Reported-by: Greg Thelen <gthelen@google.com>
Fixes: df3f3bb5059d ("io_uring: add missing item types for various requests")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/io_uring.c