io_uring: hide uring_fd in ctx
authorPavel Begunkov <asml.silence@gmail.com>
Fri, 17 Jan 2020 01:45:59 +0000 (04:45 +0300)
committerJens Axboe <axboe@kernel.dk>
Tue, 21 Jan 2020 00:04:06 +0000 (17:04 -0700)
commitb14cca0c84c760fbd39ad6bb7e1181e2df103d25
treef300c6f74d28ebdbc42919fd21e11b9fe2448a25
parent0791015837f1520dd72918355dcb1f1e79175255
io_uring: hide uring_fd in ctx

req->ring_fd and req->ring_file are used only during the prep stage
during submission, which is is protected by mutex. There is no need
to store them per-request, place them in ctx.

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