OSDN Git Service

io_uring: add interface for getting files
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 24 Feb 2020 08:32:44 +0000 (11:32 +0300)
committerJens Axboe <axboe@kernel.dk>
Mon, 2 Mar 2020 21:04:37 +0000 (14:04 -0700)
commit8da11c19940ddbc22fc835bce3f361f4d2417fb0
tree278f83fac2620d3d7c1b95f841a8bbb2c6e19006
parent444ebb5768c5c43aadfc60111fecd6c4f946e77b
io_uring: add interface for getting files

Preparation without functional changes. Adds io_get_file(), that allows
to grab files not only into req->file.

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