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>
Thu, 27 Feb 2020 21:21:01 +0000 (14:21 -0700)
commit403c60931e317562c422774cb9f8b5ddbc7baf08
treec9cfdd2370d7702661b6e3640564f635c1582daf
parent6a36fb5bb5fbb3c8c9ec7b002f1ecb8bca5d603e
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