Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
io_uring: use original request task for inflight tracking
In prior kernels, we did file assignment always at prep time. This meant that req->task == current. But after deferring that assignment and then pushing the inflight tracking back in, we've got the inflight tracking using current when it should in fact now be using req->task. Fixup that error introduced by adding the inflight tracking back after file assignments got modifed. Fixes: 9cae36a ("io_uring: reinstate the inflight tracking") Signed-off-by: Jens Axboe <[email protected]>
- Loading branch information