Message ID | 6003da99-86f6-df03-7e21-a80e82d52f66@kernel.dk (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [GIT,PULL] io_uring core updates for 5.19-rc1 | expand |
The pull request you sent on Sun, 22 May 2022 15:25:56 -0600:
> git://git.kernel.dk/linux-block.git tags/for-5.19/io_uring-2022-05-22
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/3a166bdbf3abc8ca2d7ffe7cffc5c7a65f260e62
Thank you!
diff --git a/fs/io_uring.c b/fs/io_uring.c index 59e65d70dfda..0c6a14276186 100644 --- a/fs/io_uring.c +++ b/fs/io_uring.c @@ -7413,7 +7413,7 @@ static int io_req_prep_async(struct io_kiocb *req) /* assign early for deferred execution for non-fixed file */ if (def->needs_file && !(req->flags & REQ_F_FIXED_FILE)) - req->file = io_file_get_normal(req, req->fd); + req->file = io_file_get_normal(req, req->cqe.fd); if (!def->needs_async_setup) return 0; if (WARN_ON_ONCE(req_has_async_data(req)))