Skip to content
Commit 02a13674 authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring: account io_uring internal files as REQ_F_INFLIGHT



We need to actively cancel anything that introduces a potential circular
loop, where io_uring holds a reference to itself. If the file in question
is an io_uring file, then add the request to the inflight list.

Cc: stable@vger.kernel.org # 5.9+
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 9d5c8190
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment